Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XIDdw-0003Kx-AW for pgsql-jdbc@arkaria.postgresql.org; Fri, 15 Aug 2014 09:17:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XIDdv-0006C1-HY for pgsql-jdbc@arkaria.postgresql.org; Fri, 15 Aug 2014 09:17:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XIDdt-0006Br-HB for pgsql-jdbc@postgresql.org; Fri, 15 Aug 2014 09:17:49 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XIDdp-0005lS-R6 for pgsql-jdbc@postgresql.org; Fri, 15 Aug 2014 09:17:47 +0000 Received: from ayaki.localdomain (106-68-168-144.dyn.iinet.net.au [106.68.168.144]) by mrelayeu.kundenserver.de (node=mreue102) with ESMTP (Nemesis) id 0MGzR4-1XEO8t0EjK-00DpBy; Fri, 15 Aug 2014 11:17:42 +0200 Message-ID: <53EDD030.3010700@2ndquadrant.com> Date: Fri, 15 Aug 2014 17:17:36 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: John R Pierce , pgsql-jdbc@postgresql.org Subject: Re: [ODBC] BIRT report opening multiple connections References: <7d652dd9937d4221805e16bc611c1a7e@BY2PR08MB281.namprd08.prod.outlook.com> <53ED4779.80102@hogranch.com> In-Reply-To: <53ED4779.80102@hogranch.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:xpdM6vWp0cHrz32ALO7tFdARel1SD4lyfAxwCxwszbj 9o+CsWM15KGgO4unbZMBpZKo3WP840Ti7P+9MbLfla1DXu3uSy TjNEeV7RxgfbxWFjOoJXjGsoUIvPePUxIM2phBRj0MFiU1P+ZS HIyvRWCNN4D7I8m9ONkHu+W7+Sra+lA17Us2ZRxvSOfcqArxwm VXg9dyD/HJrWucvkf1Dm6lnHz9xW3lpQMWGWcpABFFDhifY21+ xW2rsmx5PFU1YSuPFtaMomyiOJ5+axoW2qJ9oN0ScPdfr6Vw2n dAzqW4BlsOzYT2pWjGF1dtc5aC0A5ChVQEVhSoFeYxXL5jF8US YU17amKZK+5CMqd3kvjrr1Yhk/0jZPPkrLX80sJzY X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org 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