Sorry , its wrong
Correct changs is,
ps.setObject(columnIndex, bytes); (its working)
ps.setBlob(columnIndex, (Blob)is);(this line was not working)
I haven't used ByteArrayInputStream.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123577#4123577
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123577
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user