close Jdbc3PoolingDataSource connections ?

From: Paul Guermonprez <paul(at)integragen(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: close Jdbc3PoolingDataSource connections ?
Date: 2003-03-13 14:10:04
Message-ID: 3E70913C.3090501@integragen.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2003-03-13 22:13:52 Re: Batch update error
Previous Message Dave Cramer 2003-03-13 12:30:08 Re: Doubt in Value insertion to an Array column through