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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to