Re: PGPoolingDataSource problem. - Mailing list pgsql-jdbc

From Craig Ringer
Subject Re: PGPoolingDataSource problem.
Date
Msg-id 4DF04704.8070604@postnewspapers.com.au
Whole thread Raw
In response to PGPoolingDataSource problem.  (<Benjamin.Galaviz@LSGSkyChefs.com>)
Responses Re: PGPoolingDataSource problem.
List pgsql-jdbc
On 09/06/11 01:36, Benjamin.Galaviz@LSGSkyChefs.com wrote:
> I am using the JDBC3 PGPoolingDataSource to create a pool of 5
> connections (for test) to my database.

I'd recommend using a proper connection pool like C3P0 or DBCP. It'll be
less work in the long run, as PGPoolingDataSource is more of a
toy/testing tool.

What's your environment, anyway? Are you running in a standalone JVM
(j2SE) or in an application server context? If you're in an appserver or
servlet container you should be getting connections from the container
environment.

--
Craig Ringer

pgsql-jdbc by date:

Previous
From: "David Johnston"
Date:
Subject: Re: PGPoolingDataSource problem.
Next
From: Radosław Smogura
Date:
Subject: Re: PGPoolingDataSource problem.