Re: Here's a fix to AbstractJdbc3Statement.getGeneratedKeys - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Here's a fix to AbstractJdbc3Statement.getGeneratedKeys
Date
Msg-id Pine.BSO.4.64.0904242044450.16333@leary.csoft.net
Whole thread Raw
In response to Re: Here's a fix to AbstractJdbc3Statement.getGeneratedKeys  (Thomas Kellerer <spam_eater@gmx.net>)
List 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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: JDBC problem with dates and ANYELEMENT type
Next
From: "Peter"
Date:
Subject: Re: JDBC problem with dates and ANYELEMENT type