Re: JDBC gripe list

From: Quartz <quartz12h(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC gripe list
Date: 2011-03-29 19:29:51
Message-ID: 939379.22781.qm@web33204.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

addBatch()/executeBatch() is broken under autocommit=true.

Every statement is clearly supposed to be independant.
Example: 5 insert statements, let's say the 2th and the 4th are on duplicate of primary key. All 3 others should still be performed but they aren't.

This breaks our application. We migrated from mysql, and BOOM...

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2011-03-29 19:58:17 Re: JDBC gripe list
Previous Message Kevin Grittner 2011-03-29 15:55:57 Re: JDBC gripe list