dcsimg

How do you allow a PreparedStatement to be pooled?

John Zukowski

The PreparedStatement has two methods in Java 6, isPoolable() and setPoolable(), so you can now request if a PreparedStatement can be pooled or not.