>             PreparedStatement ps = connection.prepareStatement(...);
>             try {
>                 // use the prepared statement
>             } finally {
>                 ps.close();
>             }

> 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.

Thomas

Reply via email to