Re: Problem with executeBatch and "A result was returned when none was expected"

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Sean Bowman <pico303(at)gmail(dot)com>
Cc: Oliver Jowett <oliver(at)opencloud(dot)com>, 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:40:22
Message-ID: AANLkTikCgRgtG5yS2vAJ7Z0WiRv=e6mK9TrSFVFG_TPr@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

So looking at the code if you add RETURN_GENERATED_KEYS to the
statement it returns all of the columns. That's rather ugly. Is there
a way to determine just the generated keys ?

Dave

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vitalii Tymchyshyn 2011-03-16 10:43:58 Re: Problem with executeBatch and "A result was returned when none was expected"
Previous Message Sean Bowman 2011-03-16 10:18:52 Re: Problem with executeBatch and "A result was returned when none was expected"