Re: getGeneratedKeys()
От | John Sidney-Woollett |
---|---|
Тема | Re: getGeneratedKeys() |
Дата | |
Msg-id | 1216.192.168.0.64.1072824461.squirrel@mercury.wardbrook.com обсуждение исходный текст |
Ответ на | Re: getGeneratedKeys() (<henr-and@dsv.su.se>) |
Ответы |
Re: getGeneratedKeys()
|
Список | pgsql-jdbc |
Can you do the insert using a function instead, and return the currval on the underlying sequence? John henr-and@dsv.su.se said: > >> This method has not been implemented and most likely will not be >> implemented anytime soon. First it is unclear to me what it means by >> auto-generated keys. Does it mean just things like serial or anything >> that a before insert trigger does to modify the row? > > In my case it's a serial. I want to get the id-number that my insert > generates. > MySQL's JDBC-driver has implemented the method. > > -- > Henrik > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org >
В списке pgsql-jdbc по дате отправления: