Re: Further getLastOID() woes

From: Zak McGregor <zak(at)mighty(dot)co(dot)za>
To: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Further getLastOID() woes
Date: 2003-09-01 15:21:27
Message-ID: 20030901172127.1716f27c.zak@mighty.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, 1 Sep 2003 16:05:13 +0100
Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk> wrote:

> Looking at the sources for the 7.1 JDBC driver, it looks like you should
> be saying something like:
>
> return ((org.postgresql.jdbc1.Statement)(stmt).getInsertedOID();

Great, thanks Paul, s/jdbc1/jdbc2/ & that works very well indeed.

Thanks

Cheers

Zak

--
========================================================================
http://www.carfolio.com/ Searchable database of 10 000+ car specs
Auctioning motoring-related items at eBay? http://www.carfolio.com/ebay/
========================================================================

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Lufkin, Brad 2003-09-01 15:22:07 Re: Caching
Previous Message Paul Thomas 2003-09-01 15:05:13 Re: Further getLastOID() woes