commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Chandler <a...@chandlerfamily.org.uk>
Subject [DBCP] PreparedStatement pooling with JSP pages
Date Mon, 04 Jul 2005 20:39:18 GMT
Assuming I set poolPreparedStatement to true in setting DBCP up, how do I 
re-use a prepared statement.

Assuming at the start of a request, I grab a connection from the pool, how do 
I organise to get the same connection as the one I used on my previous run 
through on which I know I already have a prepared sql statement that I want 
to re-use.

 
-- 
Alan Chandler
http://www.chandlerfamily.org.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message