commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <>
Subject Re: [DBCP] proposal for activationStatement and passivationStatement in PoolableConnectionFactory
Date Mon, 22 Dec 2003 14:01:16 GMT
Good start, but it will be really usefull when the new feature is 
available through the BasicDataSource. (and tested with JUnit test of 

I have created a bugzilla issue to track this item:

happy holidays...  o<]:-)

-- Dirk

Brent Verner wrote:

> [2003-12-21 21:36] Dirk Verbeeck said:
> | Yes this would be a nice feature, a couple of days ago there was 
> | somebody else requesting a similar thing on commons-user.
> | A patch is very welcome.
> patch attached.  While cleaning this up, I realized that 
> activation/passivation was executed each time a pooled
> connection was borrowed.  This is not at all what I'd 
> originally intended...<blush />   As such, I've moved the 
> statement execution calls into makeObject() and destroyObject()
> where the do what I want (only once :-)).
> | One remark, I would stop the normal processing when an exception is 
> | thrown. If needed you can always handle error in a PL/SQL block or 
> | stored procedure.
> Ok. An SQLException is thrown on error.
> cheers.
>   Brent
> P.S. I'll be slow to reply to email over the next couple of
>      weeks...  happy holidays!

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

View raw message