Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.sql.SQLException: Invalid argument(s) in call: getBytes()

user12209957Aug 2 2010 — edited Oct 15 2014
Hi
I had uploaded the document in db (whose data type is Blob) when i am retriving that, i am using cached row set for retriving the document from the DB .
The query i used is similar as i given below :

SELECT DOCUMENT_NAME,UPLOAD_DOC
FROM table WHERE ID = (some number)

after i execute the query in result set, i want to populate those result set in to the cached row set .
when i am using
aCachedRowSet.populate(aResultSet);
it is throwing the error
java.sql.SQLException: Invalid argument(s) in call: getBytes()

ao any body please give me some suggestions to help me out from this issue.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2010
Added on Aug 2 2010
1 comment
1,198 views