pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sean Bowman <pico303@gmail.com>
To: Dave Cramer <pg@fastcrypt.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problem with executeBatch and "A result was returned when none was expected"
Date: Wed, 16 Mar 2011 04:18:52 -0600
Message-ID: <C9A5EA27.501B%pico303@gmail.com> (raw)
In-Reply-To: <AANLkTikZ5WAOHHc-wBx_ziVYvPs787dOxGziLZfT8ssw@mail.gmail.com>

I'm actually using UUID's, so it's even easier.  I was just hoping to let
the database routines do the UUID generation, but I can do that on the
Java side instead.

On 3/16/11 4:10 AM, "Dave Cramer" <pg@fastcrypt.com> wrote:

>On Wed, Mar 16, 2011 at 5:59 AM, Oliver Jowett <oliver@opencloud.com>
>wrote:
>> On 16 March 2011 22:14, Sean Bowman <pico303@gmail.com> wrote:
>>
>>> Any suggestions or pointing out my code flaws would be most
>>>appreciated.  Or
>>> does executeBatch just not work?  I've been battling this issue most
>>>of the
>>> day and I'm just about at my wits' end.  Should I just give up and
>>>switch to
>>> calling execute() one at a time?  Seems far less efficient, but at
>>>least it
>>> seems to work.
>There are some what more efficient ways to do this, such as
>incrementing the sequence by the number of keys you need.
>
>Dave





view thread (16+ messages)  latest in thread

Message-ID: <C9A5EA27.501B%pico303@gmail.com>
Permalink:  ../C9A5EA27.501B%25pico303@gmail.com/
Also on:    postgresql.org/message-id/C9A5EA27.501B%pico303@gmail.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: pico303@gmail.com, pg@fastcrypt.com, oliver@opencloud.com
  Subject: Re: Problem with executeBatch and "A result was returned when none was expected"
  In-Reply-To: <C9A5EA27.501B%pico303@gmail.com>
  References: <AANLkTikZ5WAOHHc-wBx_ziVYvPs787dOxGziLZfT8ssw@mail.gmail.com> <C9A5EA27.501B%pico303@gmail.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