Hi Andy Taylor 

    I downloaded the messging (jboss-messaging-1.3.0.GA-src) source code and 
modified some lines.

I followed these steps,
   1. opened the org.jboss.messaging.core.plugin.JDBCPersistenceManager.java.
  2. Modified the code at line no :2716 and 2760.
  3.changes are:
     i)         // ps.setBinaryStream(columnIndex, is, bytes.length);
  to
  ps.setBlob(columnIndex, (Blob)is);
   ii)
//InputStream i = rs.getBinaryStream(columnIndex);
                    to
                 InputStream i = (InputStream) rs.getBlob(columnIndex);
  
Now perfectly working. 

Is this the right way?. if ok , Is there any changes are Still required ?.

Thanks




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123532
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to