Re: Problem with executeBatch and "A result was returned when none was expected" - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Problem with executeBatch and "A result was returned when none was expected"
Date
Msg-id AANLkTikZ5WAOHHc-wBx_ziVYvPs787dOxGziLZfT8ssw@mail.gmail.com
Whole thread Raw
In response to Re: Problem with executeBatch and "A result was returned when none was expected"  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Problem with executeBatch and "A result was returned when none was expected"
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Problem with executeBatch and "A result was returned when none was expected"
Next
From: Sean Bowman
Date:
Subject: Re: Problem with executeBatch and "A result was returned when none was expected"