Subject | RE: [Firebird-Java] Re: InputStream Closed |
---|---|
Author | Robert DiFalco |
Post date | 2003-06-20T21:31:13Z |
Roman,
Which version of the driver started using streamed blobs? I notice I get
an invalid blob handle after reading a certain number of bytes. I'm
assuming this is when I reach the segment boundary.
R.
-----Original Message-----
From: Roman Rokytskyy [mailto:rrokytskyy@...]
Sent: Friday, June 20, 2003 2:21 PM
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Re: InputStream Closed
If you wish, you can try org.firebirdsql.pool.* classes that provide
you transparent prepared statement caching, i.e. you can close
statement after each execution and it will be still fast.
Roman
Yahoo! Groups Sponsor
To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Which version of the driver started using streamed blobs? I notice I get
an invalid blob handle after reading a certain number of bytes. I'm
assuming this is when I reach the segment boundary.
R.
-----Original Message-----
From: Roman Rokytskyy [mailto:rrokytskyy@...]
Sent: Friday, June 20, 2003 2:21 PM
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Re: InputStream Closed
> >> Since statement closing is quite good idea :),Then you should close result set when you return statement to the pool.
> >> result set will be usually closed earlier.
>
> Yes, but sadly I cache my statements across transactions since I
> have a finite number of them and they are so much faster once
> prepared.
If you wish, you can try org.firebirdsql.pool.* classes that provide
you transparent prepared statement caching, i.e. you can close
statement after each execution and it will be still fast.
Roman
Yahoo! Groups Sponsor
To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.