db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Michail" <amich...@gmail.com>
Subject Re: prepared statements
Date Tue, 27 Feb 2007 01:15:51 GMT
On 2/26/07, Dag H. Wanvik <Dag.Wanvik@sun.com> wrote:
> "Bernt M. Johnsen" <Bernt.Johnsen@Sun.COM> writes:
>
> > Hi,
> >
> >
> > This behaviour is defined in the JDBC specification.
>
> But Derby's statement cache works across connections, which alleviates
> redundant statement compilation.
>

I ran into a connection lost exception and I had no idea why. It
wasn't obvious that this was the reason from the error given. Also,
it's not obvious why you would want to prevent sharing of prepared
statements across connections.

Amir

> Please see http://db.apache.org/derby/docs/10.2/tuning/ctundepth29804.html
>
> Dag
>

Mime
View raw message