problem with CachedRowSet when using Blob datatype in DB2
0 posts in topic
Flat View  Flat View

Posted By:   mdeesa_eesa
Posted On:   Thursday, March 4, 2004 08:02 PM

Iam using Db2 as a database.I have a table which contains BLOB datatype as one of the column.when iam
populating the resultset into CachedRowSet it throws Exception.(populate(resultset))
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at com.ibm.db2.jcc.b.bl.getBytes(bl.java:112)
at sun.jdbc.rowset.SerialBlob. (SerialBlob.java:81)
at sun.jdbc.rowset.CachedRowSet.populate(CachedRowSet.java:632)
at ImageInsert.main(ImageInsert.java:139)
But it works fine when iam not using BLOB datatype.
What is the reason.Can any one help me.

About | Sitemap | Contact