Hello,
I had to implement some parameters that I found on
http://jakarta.apache.org/commons/dbcp/configuration.html
but the page did not tell me where these parameters can be placed.
I finally got it to work and to let others know how to do the trick, I have
edited the ManualPoolingDriverExample.java source.
If you like it, feel free to add/update the "examples" section with it!

--------------------------
Changes to the source
- made it compile with dbcp 1.1 and pool 1.1
(PoolingDriver.getConnectionPool suddenly is protected)
- gave an example of how to set the number of maxActive connections
- note: compiles only with deprecation warnings, see below

--------------------------
Note about the API:
Please do NOT deprecate PoolingDriver.getPool - it's such a nice way to get
pool statistics (see printDriverStats from the example) and to shutdown the
pool.

--------------------------
Note about the "Parameters" page:
It is a great summary, but perhaps you could give a guide in each parameter
section where this parameter can be actually set.


Hope this helps,
Gernot

-- 
NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse f�r Mail, Message, More! +++
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to