Re: Cannot commit when autoCommit is enabled error - Mailing list pgsql-jdbc

From Kevin Grittner
Subject Re: Cannot commit when autoCommit is enabled error
Date
Msg-id 1379530684.99106.YahooMailNeo@web162901.mail.bf1.yahoo.com
Whole thread Raw
In response to Re: Cannot commit when autoCommit is enabled error  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-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


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Cannot commit when autoCommit is enabled error
Next
From: saisantoshi
Date:
Subject: Reading £ character from DB is displaying œ character