Re: [dbcp] connection events / connection close hook

2011-05-04 Thread Daniel Baldes
On Tue, 03 May 2011 08:54:32 -0700 Phil Steitz wrote: On 5/3/11 7:07 AM, Daniel Baldes wrote: Hi, I'd like to run some connection-specific clean-up code when a physical database connection is closed by the connection pool. You mean really closed, as in destroyed, or just returned to the poo

Re: [dbcp] connection events / connection close hook

2011-05-03 Thread Phil Steitz
On 5/3/11 7:07 AM, Daniel Baldes wrote: > Hi, > > I'd like to run some connection-specific clean-up code when a > physical database connection is closed by the connection pool. You mean really closed, as in destroyed, or just returned to the pool? > > I found ConnectionEventListener and > PooledCo

[dbcp] connection events / connection close hook

2011-05-03 Thread Daniel Baldes
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