[jboss-user] [JCA/JBoss] - java.lang.ClassCastException: oracle.jdbc.driver.OracleResul

ermanishdwivedi do-not-reply at jboss.com
Fri Oct 6 00:44:36 EDT 2006


Hi,
 
      in one of my application running in JBoss 4.0.3 SP1  i am fetching the resultset.After that

ResultSet lobDetails = stmt.executeQuery(queryBuffer.toString());
if (lobDetails.next()) {
	ResultSet urs =  (org.jboss.resource.adapter.jdbc.WrappedResultSet) lobDetails).getUnderlyingResultSet(); 

BLOB mapBlob = ((oracle.jdbc.OracleResultSet)urs).getBLOB("im");

on creation of mapBlob i am getting the following error

java.lang.ClassCastException: oracle.jdbc.driver.OracleResultSetImpl

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976482#3976482

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976482



More information about the jboss-user mailing list