From: Kiran T <mah...@ho...> - 2003-12-22 17:22:59
|
Hi Bill, I have been trying to make use of ConnectionListener events and I somehow feel that the events are not comprehensive. Just for an example, I was trying to make use of onDeath() to send out emails whenever connection gets "killed" but I didn't want to send emails when these connections were terminated naturally( ie after 4 hours of being in the pool). Also, I figured out that the java.sql.Connection parameter passed to the onDeath() is not the Proxool Connection but the native java.sql Connection. Was there any reason to not pass proxool's connection? I normally put the connection in the map while getting the connection and pop out during onDeath() call. Because it was not a proxool connection I had to use ProxoolFacade.getDelegateConnection() and then use it. I remember an earlier discussion on splitting onExecute() to onExecuteStart() and onExecuteEnd(). Thats a great idea. Would it be possible to integrate in 0.9.0? Great work on Proxool Bill. Keep the energy.... Thanks Kiran _________________________________________________________________ Check your PC for viruses with the FREE McAfee online computer scan. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |