commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gamnacke <>
Subject DBCP: Why is the validation query not a prepared statement
Date Wed, 25 Feb 2009 09:39:28 GMT

Is there a reason for why the validation query is not a prepared statement?
In the method
PoolableConnectionFactory.validateConnection(Connection conn) the validation
query is executed as a normal statement (conn.createStatement()).

Would it be unsafe to use a prepared statement here instead?

View this message in context:
Sent from the Commons - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message