pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Quartz <quartz12h@yahoo.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC gripe list
Date: Tue, 29 Mar 2011 12:29:51 -0700 (PDT)
Message-ID: <939379.22781.qm@web33204.mail.mud.yahoo.com> (raw)
In-Reply-To: <0BCE9496109B41DDA29A2E91C3BE4C11@maumau>

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




view thread (65+ messages)  latest in thread

Message-ID: <939379.22781.qm@web33204.mail.mud.yahoo.com>
Permalink:  ../939379.22781.qm@web33204.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/939379.22781.qm@web33204.mail.mud.yahoo.com

 · 

reply

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: quartz12h@yahoo.com
  Subject: Re: JDBC gripe list
  In-Reply-To: <939379.22781.qm@web33204.mail.mud.yahoo.com>
  References: <0BCE9496109B41DDA29A2E91C3BE4C11@maumau> <939379.22781.qm@web33204.mail.mud.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