Re: Here's a fix to AbstractJdbc3Statement.getGeneratedKeys

From: Kris Jurka <books(at)ejurka(dot)com>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Here's a fix to AbstractJdbc3Statement.getGeneratedKeys
Date: 2009-04-25 00:46:18
Message-ID: Pine.BSO.4.64.0904242044450.16333@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Fri, 24 Apr 2009, Thomas Kellerer wrote:

> Kris Jurka wrote on 24.04.2009 19:20:
>> The problem is knowing what fields are autogenerated.
>
> Isn't that supposed to be passed when preparing the statement?
>
> <http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#prepareStatement(java.lang.String,%20int[])>
>

Yes, but not always. If it's provided as above, we use it. If it's not
as below, we can't.

http://java.sun.com/j2se/1.5.0/docs/api/java/sql/Connection.html#prepareStatement(java.lang.String,%20int)

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter 2009-04-25 05:32:21 Re: JDBC problem with dates and ANYELEMENT type
Previous Message Kris Jurka 2009-04-24 20:20:43 Re: JDBC problem with dates and ANYELEMENT type