5

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?

Frank Schmitt
  • 30,195
  • 12
  • 73
  • 107
sameer59
  • 97
  • 11