PreparedStatement getting OID from INSERT

From: Doug Fields <dfields-postgres(at)pexicom(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: PreparedStatement getting OID from INSERT
Date: 2002-02-28 20:37:12
Message-ID: 5.1.0.14.2.20020228153622.035469d8@mail.pexicom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello All,

In the past, this has been written:

Peter Mount wrote:
> Yes. The ResultSet.getStatusString() and
> Statement.getResultStatusString() methods give you access to this
> information.

However, I'm using a PreparedStatement. How can I get the OID from an
INSERT statement after executing executeUpdate()?

Many thanks,

Doug

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-02-28 20:48:20 Re: PreparedStatement getting OID from INSERT
Previous Message Robinson 2002-02-28 20:28:25 CLOB data type