On Oct 3, 2011, at 2:20 PM, Michael Bayer wrote:

> 
> 3. Use pool events to emit commands when connections are checked out or 
> checked in.   If you need to emit some SQL or cx_oracle commands on the DBAPI 
> connection upon checkout or checkin, the Engine provides pool events which 
> accomplish this.  They work with NullPool as well as the regular QueuePool.
> 
> http://www.sqlalchemy.org/docs/core/events.html#connection-pool-events

in 0.6 you'd use PoolListener, same idea just older API:

http://www.sqlalchemy.org/docs/06/core/interfaces.html#connection-pool-events

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to