Re: [ODBC] BIRT report opening multiple connections - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: [ODBC] BIRT report opening multiple connections
Date
Msg-id CADK3HHKCk5Bz41cm1Vwvx4-jRFD4cX7OsAJ+_Ru++iDxqxhzUw@mail.gmail.com
Whole thread Raw
In response to Re: [ODBC] BIRT report opening multiple connections  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-jdbc
Ya, I had a similar WAG

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On 18 August 2014 21:42, Craig Ringer <craig@2ndquadrant.com> wrote:
On 08/15/2014 09:49 PM, Lussier, Denis wrote:
> My suspicion is that Barry is deploying his BIRT reports in a web
> container that is using connection pooling to the RDBMS.   Since the
> BIRT report doesn't seem to be issuing a a close(), the connection
> pooler keeps using a new physical connection for each subquery.

My own WAG is that they've configured PgJDBC using org.postgresql.Driver
or org.postgresql.ds.PGSimpleDataSource but have used DataSource
implementations with internal pooling on other vendors' drivers.

All we can do is hand-wave, guess, and waste time without at minimum seeing:

- The code; and
- the database connection configuration details

so Barry, please provide those details.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-jdbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [ODBC] BIRT report opening multiple connections
Next
From: Craig Ringer
Date:
Subject: Re: JBDC LDAP support for connection parameters