I am migrating from Oracle to DB2 v 7.2.
The problem is that I didn't find a way to write CLOBs through Java.
I am using the db2java.zip which is on the same CD with the DB2 v 7.2.
My input is a java.io.Reader, so the question is what should I do in order to write to a CLOB field. The OS is...
I try to write java stored procedures, so as the docs say I extend COM.ibm.db2.app.StoredProc.
In order to get the current connection the docs say to call getConnection method of the supper.
But, the stored procedure method to be called MUST be declared static, so I end up with compilation...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.