Last primary key value generated by an INSERT
843854Jan 24 2003 — edited Jan 24 2003Hi,
When i execute a query like this with JDBC :
INSERT INTO ...
I would like to get the values generated by the query (for the primary key). This value is automatically generated by an index in a PostgreSQL DB.
I know that this can be performed in PHP by the pg_insert_id() command, so i want to know if there is an equivalent in Java/JDBC.
Thanks.
---
Eric MINSO