How to get oid of newly inserted row with JDBC?

From: glos(at)gmx(dot)net
To: pgsql-interfaces(at)postgresql(dot)org
Subject: How to get oid of newly inserted row with JDBC?
Date: 2002-01-11 13:12:46
Message-ID: 4249.1010754766@www15.gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-jdbc

Hello,

I inserted a serialized object in a PostgreSQL database using jdbc.
Now I want to get back the OID of the inserted object (to store in other
database). How do I do that, because my ResultSet gives back 0/zero all the
time.

Thanx in advance.
G.

--
Sent through GMX FreeMail - http://www.gmx.net

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Christof Petig 2002-01-11 13:21:31 Re: ECPG bug: allocate descriptor does not clear sqlcode
Previous Message Tim Nelson 2002-01-11 12:29:28 ecpg aborts with structure reference

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kovács Péter 2002-01-11 14:32:45 Proposal for a configurable ResultSet implementation
Previous Message Dave Cramer 2002-01-11 12:34:54 Re: ResultSet memory usage