java.sql.SQLException: Invalid argument(s) in call: getBytes()
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.