Re: [INTERFACES] How to get oid of newly inserted row with JDBC?

From: Barry Lind <barry(at)xythos(dot)com>
To: glos(at)gmx(dot)net
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [INTERFACES] How to get oid of newly inserted row with JDBC?
Date: 2002-01-14 18:15:29
Message-ID: 3C432041.20003@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-jdbc

This should be posted to the pgsql-jdbc mail list. Could you provide
some more details of your problem? A test case in java would help a
lot. There isn't enough information here for me to understand your problem.

thanks,
--Barry

glos(at)gmx(dot)net wrote:

> 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.
>
>

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Dave Cramer 2002-01-14 20:40:09 Re: [INTERFACES] How to get oid of newly inserted row with JDBC?
Previous Message Tom Lane 2002-01-14 18:13:16 Re: Any changes to the frontend/backend protocol?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jason Davies 2002-01-14 20:11:39 Re: Problem with getImportedKeys / getExportedKeys
Previous Message Barry Lind 2002-01-14 17:36:13 Re: JDBC patch for DatabaseMetaData