Google News
logo
JDBC - Interview Questions
What is the use of getGeneratedKeys() method in Statement?
Sometimes a table can have auto generated keys used to insert the unique column value for primary key. We can use Statement getGeneratedKeys() method to get the value of this auto generated key.
Advertisement