Re: Possible bug / regression from generated keys

From: Peter Cooner <petriborg(at)gmail(dot)com>
To: dmp <danap(at)ttc-cmc(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Possible bug / regression from generated keys
Date: 2012-11-08 18:05:10
Message-ID: CAHVZnpFj3jf7xFK1Fd86N7oVQ_QZ5=3pt97UNA1XitWzZNU3Aw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Bleh, sorry, forgot to mention, the exception line:

Object obj = rs.getObject(i);

On Thu, Nov 8, 2012 at 10:57 AM, dmp <danap(at)ttc-cmc(dot)net> wrote:
> Ater some thought I'm in agreement with Dave. The backend must be sending
> an unexpected value that can not be converted.
>
> Peter can you please send a post of the core prepare commit code that is
> used to create these batches along with the exact place in your code
> before the PSQLExceptions codes are given. I assume from your original post
> that would include the getGeneratedKeys() that you indicated is the place
> the error occurs for the ResultSet?
>
> A simple test code case to recreate the error would be of course best.
>
> danap.
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2012-11-08 18:45:36 Re: Possible bug / regression from generated keys
Previous Message Peter Cooner 2012-11-08 18:01:58 Re: Possible bug / regression from generated keys