db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epdv <peter.nabbef...@gmx.de>
Subject Re: How to read blobs?
Date Fri, 06 Mar 2009 06:58:04 GMT

Thank You for the answer - but I've also got problems with 
autocommit(false): Recordset not open. How can I get the InputStream 
then, and can I access the opened InputStream independently from the 
blob, i.e. can I read the stream still after freeing the blob?

Kind regards

Peter Nabbefeld

Donald McLean schrieb:
> You cannot use blobs with autocommit(true). It just doesn't work.
> Donald
> On Thu, Mar 5, 2009 at 8:38 AM, epdv<peter.nabbefeld@gmx.de>  wrote:
>> Hello!
>> I want to read blobs in a loop (more exact: the length of the blobs). I'm
>> using a connection with autocommit(true) and a prepared statement with sth.
>> like "select mydata, myblob where mykey=?".
> -------------------------------------------------------------
> Family photographs are a critical legacy for
> ourselves and our descendants. Protect that
> legacy with a digital backup and recovery plan.

View raw message