oracle.sql.BLOB.DURATION_CALL vs oracle.sql.BLOB.DURATION_SESSION
What is the difference between the two?
It is used to create a temporary LOB by calling the BLOB.createTemporary(connection, true, flag).
I have the following scenario:
All connections are pooled and never released till shutdown. I want the temporary LOB to be in existence only for a execution of preparedStatement (viz for insert. After insert, I don't need the lob). Which flag should I use?