Re: Postgress, report opening multiple connections - Mailing list pgsql-odbc

From Adrian Klaver
Subject Re: Postgress, report opening multiple connections
Date
Msg-id 53ED0C10.6010106@aklaver.com
Whole thread Raw
In response to Postgress, report opening multiple connections  (Barry Bell <Barry.Bell@hartehanks.com>)
Responses Re: Postgress, report opening multiple connections
List pgsql-odbc
On 08/14/2014 09:31 AM, Barry Bell wrote:
> I have a report with a table and child tables. (BIRT)

I am going to guess that BIRT means:

http://www.eclipse.org/birt/about/

If that is the case, the native method of connection is through JDBC and
to use ODBC you have to use a JDBC --> ODBC connector, correct?

> 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)

Are you using the same method of connection?
In other words are using ODBC or JDBC for the respective connections?
>
>
> Is it possible to force the closing of the transaction in the end of
> dataset execution?

Not sure the psqlodbc would know what the end of the dataset execution
is. This would seem to be something that would need to come from the
framework(BIRT).

> The report crash after a while (too much IDLE transactions)
>
> Any ideas?
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-odbc by date:

Previous
From: Barry Bell
Date:
Subject: Postgress, report opening multiple connections
Next
From: Adrian Klaver
Date:
Subject: Re: Postgress, report opening multiple connections