Good start, but it will be really usefull when the new feature is available through the BasicDataSource. (and tested with JUnit test of course)

I have created a bugzilla issue to track this item:
http://issues.apache.org/bugzilla/show_bug.cgi?id=25696

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to