commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dudgeon <tdudg...@informaticsmatters.com>
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.

Tim

> 
> Phil


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message