There is  difference between the JDBC program that I have written to retrieve 
the  BLOB from the JMS_MESSAGES  and the code in the JBoss 
PersistenceManager.java


My code :

BLOB blob = null;
blob =  ((OracleResultSet)rs).getBLOB (2); InputStream instream = 
blob.getBinaryStream();


The  JBoss code in the PersistenceManager.java :
       org.jboss.mq.pm.jdbc2.PersistenceManager

..
SpyMessage extractMessage(ResultSet rs) throws SQLException, IOException
{
//  some code      
ObjectInputStream ois = new ObjectInputStream(rs.getBinaryStream(2));
// some code 
}

The above line is throwing the exception 


 Now  can u suggest what should be done to get rid of this issue ...



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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to