How can I get the auto generated key after insert?
Hello
I want to get the auto generated key after insert,I found there is one overloaded function in connection.h for prepareStatement.
PreparedStatement * prepareStatement(const sql::SQLString& sql, int autoGeneratedKeys) = 0;
But how can I use it to return key?
Thanks and regards!
Subject
Views
Written By
Posted
How can I get the auto generated key after insert?
2199
August 16, 2012 12:45AM
1458
August 20, 2012 12:55AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.