How can I close an org.postgresql.jdbc3.Jdbc3ConnectionPool ? - Mailing list pgsql-jdbc

From Alex Thecate
Subject How can I close an org.postgresql.jdbc3.Jdbc3ConnectionPool ?
Date
Msg-id BAY9-F62QTGpaoG1VRI00029cfb@hotmail.com
Whole thread Raw
Responses Re: How can I close an org.postgresql.jdbc3.Jdbc3ConnectionPool
List pgsql-jdbc
Hi - I would like to be able to explicity and truly close all connections in
an org.postgresql.jdbc3.Jdbc3ConnectionPool but can find no way to do this.

The pool's clients do the appropriate close() on a connection when it is no
longer needed, which as i understand just puts that connection back into the
pool of available connections.

When the entire application itself is complete, can I explicity close the
pool and thus really really close the connections to the database?

As it stands now, my application simply terminates which although i assume
closes the connections implicitly, currently generates the following log
entries:

WARNING:  ROLLBACK:  no transaction in progress
LOG:  pq_recvbuf : unexpected EOF on client connection

Thanks for any advice -

_________________________________________________________________
Check out the coupons and bargains on MSN Offers!
http://shopping.msn.com/softcontent/softcontent.aspx?scmId=1418


pgsql-jdbc by date:

Previous
From: Nic Ferrier
Date:
Subject: Re: CallableStatement support?
Next
From: Dave Cramer
Date:
Subject: Re: FW: [webmaster] jdbc site: documentation links broken