Re: getLastUID() In pgsql JDBC

From: Hunter Hillegas <lists(at)lastonepicked(dot)com>
To: Dave Cramer <Dave(at)micro-automation(dot)net>
Cc: Postgre JDBC List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: getLastUID() In pgsql JDBC
Date: 2003-05-08 02:02:08
Message-ID: BADF08B0.AA2FA%lists@lastonepicked.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hmmm... Yes, I am familiar with that SQL...

I misspoke... I am looking for getLastOID()... What class is that a part of?
Is there JavaDoc for the driver's classes?

Thanks again,
Hunter

> From: Dave Cramer <Dave(at)micro-automation(dot)net>
> Date: 07 May 2003 21:49:45 -0400
> To: Hunter Hillegas <lists(at)lastonepicked(dot)com>
> Cc: Postgre JDBC List <pgsql-jdbc(at)postgresql(dot)org>
> Subject: Re: [JDBC] getLastUID() In 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(at)postgresql(dot)org so that your
>> message can get through to the mailing list cleanly
> --
> Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-05-08 02:11:35 Re: getLastUID() In pgsql JDBC
Previous Message Dave Cramer 2003-05-08 01:49:45 Re: getLastUID() In pgsql JDBC