Re: MySQL Statement executeBatch - batchedGeneratedKeys Field
Posted by: Filipe Silva
Date: February 26, 2016 05:38PM

Hi Shriprasad,

In the case of Statement batch execute Connector/J automatically provides you the list of auto-generated keys by calling Statement.getGeneratedKeys().

The JDBC specification doesn't define any other way of retrieving this information, that's why the ids list is not exposed.

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL Statement executeBatch - batchedGeneratedKeys Field
February 26, 2016 05:38PM


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.