jdbc how to get SERIAL

From: John Thorhauer <jthorhauer(at)phoenixcolor(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: jdbc how to get SERIAL
Date: 2000-07-18 18:36:32
Message-ID: 3974A3B0.E4D01DED@phoenixcolor.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

How do I get the id column of a row via jdbc if the column is a SERIAL
column. I want to get the id of the row after I insert new data via
jdbc execute command.

Thanks,
John Thorhauer

--
********************************
** John Thorhauer
** jthorhauer(at)phoenixcolor(dot)com
********************************

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Matt Fair 2000-07-18 18:38:25 Connection.setBytes()
Previous Message Þórhallur Hálfdánarson 2000-07-18 16:21:29 ResultSetMetaData problems (getColumnType() and -TypeName)