commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Katz" <gk...@allot.com>
Subject [DBCP] setting a login timeout on a connection
Date Wed, 29 Mar 2006 15:43:44 GMT
Hi all;

We use BasicDataSource and we need to declare loginTimeout.

Having a quick look at the DBCP source code we noticed that
BasicDataSource's setLoginTimeout and getLoginTimeout propagates to
PoolingDataSource which throws UnsupportedOperationException.

Is there a reason for this behavior?

Is there a way to achieve a loginTimeout?

Thanks in advance. 

 

 

 

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message