From: Craig Ringer <craig@2ndquadrant.com>
To: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: [ODBC] BIRT report opening multiple connections
Date: Fri, 15 Aug 2014 17:17:36 +0800
Message-ID: <53EDD030.3010700@2ndquadrant.com> (raw)
In-Reply-To: <53ED4779.80102@hogranch.com>
References: <7d652dd9937d4221805e16bc611c1a7e@BY2PR08MB281.namprd08.prod.outlook.com>
<53ED4779.80102@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On 08/15/2014 07:34 AM, John R Pierce wrote:
>>
>>
>> The problem: Each call of dataset open a connection to the source but
>> does not close it after dataset execution.
>> (This does not happen under a different DB like Oracle or Mysql)
>
> sounds like a broken application to me. very broken. the API calls
> to JDBC are the same regardless of what database you're connecting to.
> I would be talking with the application developers or support crew.
Indeed; I struggle to see how it could make new connections with Pg, but
not with MySQL.
Unless perhaps you've configured a pooling DataSource with MySQL, and
you're using the simple DataSource with PostgreSQL?
Please show the full connection configuration, with
usernames/IPs/passwords obscured, for both MySQL and PostgreSQL setups
please.
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: craig@2ndquadrant.com, pierce@hogranch.com
Subject: Re: [ODBC] BIRT report opening multiple connections
In-Reply-To: <53EDD030.3010700@2ndquadrant.com>
References: <7d652dd9937d4221805e16bc611c1a7e@BY2PR08MB281.namprd08.prod.outlook.com> <53ED4779.80102@hogranch.com> <53EDD030.3010700@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox