openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Gianni <>
Subject Stale input streams, take two
Date Mon, 04 May 2009 16:30:35 GMT
Hi all again,
the previous thread on this subject died, so I'm bringing it up again. 
The question is still how to close the input stream an application gives 
to OpenJPA streaming lob support, since OpenJPA requires that stream to 
be open until it flushes it to the database, which potentially happens 
outside the application scope.

Which is the listener that should be used to close those streams? 
Otherwise how to close it at the right moment to prevent stale streams 
and errors in OpenJPA?


Simone Gianni            CEO Semeru s.r.l.           Apache Committer

View raw message