From: Kevin Grittner <kgrittn@ymail.com>
To: Dave Cramer <pg@fastcrypt.com>
To: Gurkan Ozfidan <gurkan@resolution.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: Cannot commit when autoCommit is enabled error
Date: Wed, 18 Sep 2013 11:58:04 -0700 (PDT)
Message-ID: <1379530684.99106.YahooMailNeo@web162901.mail.bf1.yahoo.com> (raw)
In-Reply-To: <CADK3HHLZ9TqFQhXnw_fKtts-nF=chhaTEksAxMNSZZ1-RUbuwA@mail.gmail.com>
References: <CAOH_NEv-fvUAaRembsab1gz8exBi8_hVVHnq7WX13WBJq349cw@mail.gmail.com>
<CADK3HHLZ9TqFQhXnw_fKtts-nF=chhaTEksAxMNSZZ1-RUbuwA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Dave Cramer <pg@fastcrypt.com> wrote:
> Gurkan Ozfidan <gurkan@resolution.com> wrote:
>> ERROR in createReportTable(): Cannot commit when autoCommit is enabled.
>> } catch (Exception e) {
>> System.err.println("ERROR in runStorageSQLQuery(): " + e.getMessage() + " sqlQuery: "+sqlQuery);
> The code you showed looks fine. Are you sure this is where it is
> happening
I already pointed out on the -general list before they posted here
that the error message they are getting could not have come from
the code they show.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
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: kgrittn@ymail.com, pg@fastcrypt.com, gurkan@resolution.com
Subject: Re: Cannot commit when autoCommit is enabled error
In-Reply-To: <1379530684.99106.YahooMailNeo@web162901.mail.bf1.yahoo.com>
References: <CAOH_NEv-fvUAaRembsab1gz8exBi8_hVVHnq7WX13WBJq349cw@mail.gmail.com> <CADK3HHLZ9TqFQhXnw_fKtts-nF=chhaTEksAxMNSZZ1-RUbuwA@mail.gmail.com> <1379530684.99106.YahooMailNeo@web162901.mail.bf1.yahoo.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