Re: looking for a jdbc method.
От | Craig Ringer |
---|---|
Тема | Re: looking for a jdbc method. |
Дата | |
Msg-id | 48C8835E.7030306@postnewspapers.com.au обсуждение исходный текст |
Ответ на | Re: looking for a jdbc method. (Craig Ringer <craig@postnewspapers.com.au>) |
Ответы |
Re: looking for a jdbc method.
|
Список | pgsql-jdbc |
> I haven't looked into the current status of the interface. It's broken > by design and should really be deprecated in the JDBC spec, so it's not > all that interesting. Er ... I spoke too soon. I could've sworn I ran into a JDBC method that could only return a single key, but it's not the two-argument form of PrepareStatement: http://www.ibm.com/developerworks/java/library/j-jdbcnew/ "the values for the generated keys are obtained by retrieving a ResultSet from a Statement's instance method, getGeneratedKeys(). The ResultSet contains a row for each generated key." My bad. So - exacltly which PostgreSQL JDBC driver version are you using, anyway? Can you show some code that doesn't work, and how it fails? -- Craig Ringer
В списке pgsql-jdbc по дате отправления: