commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <dirk.verbe...@pandora.be>
Subject Re: [DBCP] How to set connectionProperties?
Date Sat, 18 Jun 2005 10:46:21 GMT
If you use a BasicDataSource then you can use the 
addConnectionProperty(String name, String value) method.

If you are constructing a DB pool yourself you should use the following 
constructor:
new DriverConnectionFactory(driver, url, connectionProperties)

-- Dirk

Frank Fischer wrote:
> Hi all
>  
> I'm using the ConnectionPool and it's working fine so far. Only thing i do
> not know how to do, is to set the connectionProperties (like minIdle and so
> on). Since i'm using an ApplicationServer nor Datasources, i can not set
> them using a properties-File but need to know how they can be set directly
> on the ConnectionPool.
> 
> Does anyone know how this can be done?
>  
> Thanks a lot for your support!
> 
> Kind regards
> Frank
> 



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


Mime
View raw message