Hi, Right now there's no way to rewind the InputStream. I think you'll have to reload the entity to get a new stream.
I suppose it'd be possible to add a refresh(Object entity, String fieldName), to just reload a specific field, but I'd like to hear more about your use case first. -mike On Thu, Nov 18, 2010 at 1:01 PM, Norman Maurer <[email protected]> wrote: > > Hi there, > > I'm using LOB Streaming to stream data from the DB which works fine. Now I > need to read the same InputStream a view times, so I wonder if its kind of > possible todo so without loading the Entity again. Maybe the InputStream > implementation which is used by openjpa support some kind of rewind ? > > Thx, > Norman > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/Possible-to-re-read-InputStream-when-using-LOB-Streaming-tp5752905p5752905.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >
