Hi,
I'd like to run some connection-specific clean-up code when a physical
database connection is closed by the connection pool.
I found ConnectionEventListener and
PooledConnection.addConnectionEventListener() in the JDBC API, however I
think this is just used internally by JDBC drivers? At least I found no
reasonable way to attach my own listener to new connections.
Is there any way to do that with DBCP? (Or any other workable connection
pool implementation that you know?)
Thanks in advance!
Regards,
Daniel Baldes
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]