openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: Stale input streams, take two
Date Mon, 04 May 2009 16:40:25 GMT
Hi Simone,

What happens if you flush the change manually and then close the stream? It
wouldn't be ideal, but it might avoid the other problems you're seeing.

-mike

On Mon, May 4, 2009 at 11:30 AM, Simone Gianni <simoneg@apache.org> wrote:

> 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
>
> --
> Simone Gianni            CEO Semeru s.r.l.           Apache Committer
> http://www.simonegianni.it/
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message