You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Guy Katz <gk...@allot.com> on 2006/03/29 17:43:44 UTC
[DBCP] setting a login timeout on a connection
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.