Hi,

On 8/21/07, Thomas Mueller <[EMAIL PROTECTED]> wrote:
> > Any reasonable connection pool will pool also the prepared statements,
>
> I would not be so sure. Maybe if you don't close the prepared
> statement (not sure about the disadvantages of that). In any case it
> needs to be tested.

At least commons-dbcp (what I'm most familiar with) returns a prepared
statement back to a pool (instead of really closing it) when the
close() method is called.

BR,

Jukka Zitting

Reply via email to