Re: getLastUID() In pgsql JDBC

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: getLastUID() In pgsql JDBC
Дата
Msg-id 1052358585.2627.14.camel@inspiron.cramers
обсуждение исходный текст
Ответ на getLastUID() In pgsql JDBC  (Hunter Hillegas <lists@lastonepicked.com>)
Ответы Re: getLastUID() In pgsql JDBC  (Hunter Hillegas <lists@lastonepicked.com>)
Список pgsql-jdbc
Ya,

select curval('sequence')

will return the current value, and it is connection specific, in other
words if another connection increments it before you get the value you
will get your value.

Dave

On Wed, 2003-05-07 at 21:20, Hunter Hillegas wrote:
> Does this method exist in any of the pgsql JDBC drivers?
>
> We're testing out some auto-increment stuff for EJBs in JBoss and looking
> for the correct method...
>
> Also, is there a page or doc that details what is and isn't implemented in
> the pg jdbc driver?
>
> Thanks,
> Hunter
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
--
Dave Cramer <Dave@micro-automation.net>


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Hunter Hillegas
Дата:
Сообщение: getLastUID() In pgsql JDBC
Следующее
От: Hunter Hillegas
Дата:
Сообщение: Re: getLastUID() In pgsql JDBC