Recently I downloaded the JDBC driver for PostgreSQL from here. Since I'm using Java 1.7 JVM and it's written:
If you are using the 1.6 or 1.7 JVM, then you should use the JDBC4 version.
I download JDBC4. The problem is there exist no PoolingDataSource's in it.
If you get JDBC3 you can use org.postgresql.jdbc3.Jdbc3PoolingDataSource or others as is seen here.
Is there any pooling DataSource in JDBC4 that I don't know about, or what should I use instead? The only thing I found in JDBC4 is PGPoolingDataSource but I'm not sure if I'm supposed to use this because based on their Java doc message:
Don't use this if your server/middleware vendor provides a connection pooling implementation which interfaces with the PostgreSQL ConnectionPoolDataSource implementation!