[c3p0-users] test on checkin AND only after failure
Status: Beta
Brought to you by:
swaldman
From: Dean H. <de...@al...> - 2010-04-27 04:45:04
|
another question which I hope goes through to the users list..... I would like to test connections on checkins BUT only after failures as if there was no failure, the connection is probably fine. If there was a failure, it could be the database is down OR could just be a bug in the software the user hit like a constraint being violated in which case the connection is still valid(ie. these tests would hardly ever run which would be good for performance instead of testing on checkin of every connection which seems like overkill). thanks, Dean |