This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I get the error java.io.ioException LOB locators cannot span transactions, when I try to insert a BLOB object into oracle DB. My SP reads procname(filename1 in char, filedata out Blob) insert into ...(filename1, empty_blob); select filecontent from ... where filename=filename1 for update.
my java code reads java.sql.BLOB b = (BLOB)getQueryOutParam("filedata").getBlob();