pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Barry Bell <Barry.Bell@hartehanks.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: [ODBC] BIRT report opening multiple connections
Date: Fri, 15 Aug 2014 13:01:48 +0000
Message-ID: <fec9fbd00e4745c1a77b40f802f39edb@BY2PR08MB281.namprd08.prod.outlook.com> (raw)
In-Reply-To: <CADK3HH+-vS2-+xxB8uBhTawoDedMho7aSGsyYgOyib47ArNKiA@mail.gmail.com>
References: <7d652dd9937d4221805e16bc611c1a7e@BY2PR08MB281.namprd08.prod.outlook.com>
	<CADK3HHK65eSEwEBwGEmHkZkSqvaJ8jvk2i9FhWdyaGo2kAi2vQ@mail.gmail.com>
	<1aa9872970a9484784af32fa50e4521f@BY2PR08MB281.namprd08.prod.outlook.com>
	<CADK3HH+zVTH2ZM5UCkBgoRBq6NdCOJyUiXVUuqsGYF=uZ=VXbw@mail.gmail.com>
	<2aa11512ea054bf996317af5b427ae09@BY2PR08MB281.namprd08.prod.outlook.com>
	<CADK3HH+-vS2-+xxB8uBhTawoDedMho7aSGsyYgOyib47ArNKiA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Since everything is the same besides the DB connection,
Then it must be the how BIRT is using the JDBC driver?

Barry Bell
Senior Developer/Analyst
Logistics
Harte Hanks
1525 NW 3rd ST
Deerfield Beach FL, 33442
954-429-3771 Ext 267 office
954-281-1464 fax
[https://4b2685446389bc779b46-5f66fbb59518cc4fcae8900db28267f5.ssl.cf2.rackcdn.com/email-sig-hh.png]<http://www.hartehanks.com/;
hartehanks.com<http://www.hartehanks.com; / linkedin<http://www.linkedin.com/company/hartehanks; / twitter<http://www.twitter.com/HarteHanks; / facebook<http://www.facebook.com/HarteHanks;

From: davecramer@gmail.com [mailto:davecramer@gmail.com] On Behalf Of Dave Cramer
Sent: Friday, August 15, 2014 8:59 AM
To: Barry Bell
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] [ODBC] BIRT report opening multiple connections

Barry,

I think we are all at a loss as to how it could behave differently for postgres since this is just JDBC.

The driver doesn't "control" how people connect to it.

Dave Cramer

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

On 15 August 2014 08:56, Barry Bell <Barry.Bell@hartehanks.com<mailto:Barry.Bell@hartehanks.com>> wrote:
It creates only 1 connection in ORacle and Mysql.

Under postgees, it creates a connection for each query in the report.
(report may have 50 queries).

Barry Bell
Senior Developer/Analyst
Logistics
Harte Hanks
1525 NW 3rd ST
Deerfield Beach FL, 33442
954-429-3771 Ext 267<tel:954-429-3771%20Ext%20267> office
954-281-1464<tel:954-281-1464> fax
[https://4b2685446389bc779b46-5f66fbb59518cc4fcae8900db28267f5.ssl.cf2.rackcdn.com/email-sig-hh.png]<http://www.hartehanks.com/;
hartehanks.com<http://www.hartehanks.com; / linkedin<http://www.linkedin.com/company/hartehanks; / twitter<http://www.twitter.com/HarteHanks; / facebook<http://www.facebook.com/HarteHanks;

From: davecramer@gmail.com<mailto:davecramer@gmail.com> [mailto:davecramer@gmail.com<mailto:davecramer@gmail.com>] On Behalf Of Dave Cramer
Sent: Friday, August 15, 2014 8:49 AM

To: Barry Bell
Cc: pgsql-jdbc@postgresql.org<mailto:pgsql-jdbc@postgresql.org>
Subject: Re: [JDBC] [ODBC] BIRT report opening multiple connections

Barry,

How can it not create a connection in Oracle or MySql ?



Dave Cramer

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

On 15 August 2014 08:45, Barry Bell <Barry.Bell@hartehanks.com<mailto:Barry.Bell@hartehanks.com>> wrote:
BIRT is opening the connections in Postgres,
It does not do this in Oracle or MySQL.

Any Ideas how get it to creating a new connection for each query in the BIRT report?

Barry Bell
Senior Developer/Analyst
Logistics
Harte Hanks
1525 NW 3rd ST
Deerfield Beach FL, 33442
954-429-3771 Ext 267<tel:954-429-3771%20Ext%20267> office
954-281-1464<tel:954-281-1464> fax
[https://4b2685446389bc779b46-5f66fbb59518cc4fcae8900db28267f5.ssl.cf2.rackcdn.com/email-sig-hh.png]<http://www.hartehanks.com/;
hartehanks.com<http://www.hartehanks.com; / linkedin<http://www.linkedin.com/company/hartehanks; / twitter<http://www.twitter.com/HarteHanks; / facebook<http://www.facebook.com/HarteHanks;

From: davecramer@gmail.com<mailto:davecramer@gmail.com> [mailto:davecramer@gmail.com<mailto:davecramer@gmail.com>] On Behalf Of Dave Cramer
Sent: Thursday, August 14, 2014 7:05 PM
To: Barry Bell
Cc: pgsql-jdbc@postgresql.org<mailto:pgsql-jdbc@postgresql.org>
Subject: Re: [JDBC] [ODBC] BIRT report opening multiple connections

How would that be possible ? JDBC doesn't open the connections ?

Dave Cramer

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

On 14 August 2014 16:20, Barry Bell <Barry.Bell@hartehanks.com<mailto:Barry.Bell@hartehanks.com>> wrote:


We have BIRT report with multiple Queries inside the report.
Each Qurery inside the BIRT report is creating a different connection.
Any Ideas how to fix this? (Report may have upto 100 queries)


 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)

Barry Bell


--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org<mailto:pgsql-jdbc@postgresql.org>)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc





Attachments:

image001.png (image/png, 7.9K) download view image
image002.png (image/png, 7.9K) download view image

view thread (15+ messages)  latest in thread

Message-ID: <fec9fbd00e4745c1a77b40f802f39edb@BY2PR08MB281.namprd08.prod.outlook.com>
Permalink:  ../fec9fbd00e4745c1a77b40f802f39edb@BY2PR08MB281.namprd08.prod.outlook.com/
Also on:    postgresql.org/message-id/fec9fbd00e4745c1a77b40f802f39edb@BY2PR08MB281.namprd08.prod.outlook.com

 · 

reply

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: Barry.Bell@hartehanks.com, pg@fastcrypt.com
  Subject: Re: [ODBC] BIRT report opening multiple connections
  In-Reply-To: <fec9fbd00e4745c1a77b40f802f39edb@BY2PR08MB281.namprd08.prod.outlook.com>
  References: <7d652dd9937d4221805e16bc611c1a7e@BY2PR08MB281.namprd08.prod.outlook.com> <CADK3HHK65eSEwEBwGEmHkZkSqvaJ8jvk2i9FhWdyaGo2kAi2vQ@mail.gmail.com> <1aa9872970a9484784af32fa50e4521f@BY2PR08MB281.namprd08.prod.outlook.com> <CADK3HH+zVTH2ZM5UCkBgoRBq6NdCOJyUiXVUuqsGYF=uZ=VXbw@mail.gmail.com> <2aa11512ea054bf996317af5b427ae09@BY2PR08MB281.namprd08.prod.outlook.com> <CADK3HH+-vS2-+xxB8uBhTawoDedMho7aSGsyYgOyib47ArNKiA@mail.gmail.com> <fec9fbd00e4745c1a77b40f802f39edb@BY2PR08MB281.namprd08.prod.outlook.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