Re: PreparedStatement getting OID from INSERT
| От | Dave Cramer |
|---|---|
| Тема | Re: PreparedStatement getting OID from INSERT |
| Дата | |
| Msg-id | 00ed01c1c099$41941e80$8201a8c0@inspiron обсуждение исходный текст |
| Ответ на | PreparedStatement getting OID from INSERT (Doug Fields <dfields-postgres@pexicom.com>) |
| Список | pgsql-jdbc |
Doug,
Doug,
PreparedStatement is extended from Statement so you s/b able to just
call the same method on a prepared statement as you do on a statement.
Dave
-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Doug Fields
Sent: Thursday, February 28, 2002 3:37 PM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] PreparedStatement getting OID from INSERT
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
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
В списке pgsql-jdbc по дате отправления: