From: | Sean Bowman <pico303(at)gmail(dot)com> |
---|---|
To: | Dave Cramer <pg(at)fastcrypt(dot)com>, Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Problem with executeBatch and "A result was returned when none was expected" |
Date: | 2011-03-16 10:18:52 |
Message-ID: | C9A5EA27.501B%pico303@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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(at)fastcrypt(dot)com> wrote:
>On Wed, Mar 16, 2011 at 5:59 AM, Oliver Jowett <oliver(at)opencloud(dot)com>
>wrote:
>> On 16 March 2011 22:14, Sean Bowman <pico303(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2011-03-16 10:40:22 | Re: Problem with executeBatch and "A result was returned when none was expected" |
Previous Message | Sean Bowman | 2011-03-16 10:11:52 | Re: Problem with executeBatch and "A result was returned when none was expected" |