Hi,

Why every time when I call HibernateDaoSupport
Session.().createSQLQuery(...)... and the SharedPoolDataSource makes new
one active connection, and never close it, then my maxActive
connections expired and throws the exception 'Timeout waiting for idle
object'?

My configuration parameters are those:

driver=org.postgresql.Driver
url=jdbc:postgresql://xxx.xxx.xxx.xxx/xxx
user=xxxxxxx
password=xxxxxx
maxActive=10
maxIdle=8
maxWait=2000
testOnBorrow=true
validationQuery=select 1
timeBetweenEvictionRunsMillis=300000

but when I`m using HibernateTemplate in the same HibernateDaoSupport the
connections are managed fine and the maxActive connections did not expired!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to