Re: Cannot commit when autoCommit is enabled error

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>, Gurkan Ozfidan <gurkan(at)resolution(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Cannot commit when autoCommit is enabled error
Date: 2013-09-18 18:58:04
Message-ID: 1379530684.99106.YahooMailNeo@web162901.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave Cramer <pg(at)fastcrypt(dot)com> wrote:
> Gurkan Ozfidan <gurkan(at)resolution(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message saisantoshi 2013-09-22 04:53:02 Reading £ character from DB is displaying œ character
Previous Message Dave Cramer 2013-09-18 15:04:30 Re: Cannot commit when autoCommit is enabled error