db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Kroeker" <raym...@raykroeker.com>
Subject Re: Caching Prepared Statements
Date Mon, 28 Jul 2008 23:21:17 GMT
Knut,
  I initially thought that might be the case as well; however there
does not appear to be a way to prevent the driver from throwing the
error to the application; which would be required.

Raymond

On Mon, Jul 28, 2008 at 14:37, Knut Anders Hatlen <Knut.Hatlen@sun.com> wrote:
> Raymond Kroeker <raymond@raykroeker.com> writes:
>
>>     My question is as follows; is there a generic (read jdbc) api I
>> can use to determine when a statement needs to be dumped from cache?
>
> I think you can use ConnectionPoolDataSource in conjunction with
> StatementEventListener to achieve what you want.
>
> --
> Knut Anders
>



-- 
---------------------------------------------------------
Raymond Kroeker

Mime
View raw message