commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dudgeon <>
Subject Re: [dbcp] ORA-01453 on connections with previous errors
Date Sat, 12 Jun 2010 18:14:56 GMT
Phil Steitz wrote:

>>> Tim Dudgeon wrote:
>>> Do you have testOnBorrow or testOnReturn set to true?  Do you have a
>>>  validationQuery defined?
>> Neither are defined.
> Try setting testOnBorrow=true and supplying a validationQuery.  This
> will cause connections to be validated when they are borrowed from
> the pool.

I don't think that will help. The connection is OK - it just blows up 
when you try to change the transaction isolaion level, and running a 
query won't test that.


> Phil

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

View raw message