Thread: close Jdbc3PoolingDataSource connections ?

close Jdbc3PoolingDataSource connections ?

From
Paul Guermonprez
Date:
hello,


i would like to close all current connections
in a Jdbc3PoolingDataSource, but i can't find a way
to do that. (and stop future connections)

i tried :
- source.close() (java.lang.NullPointerException)
- source.setMaxConnections( 0 ) (java.lang.NullPointerException)
- source = null (nothing)
it is not closing connections.

looking at the driver's sources, it was supposed to work (???)


many thanks for your help.