Bug #71087 Implement Statement::getGeneratedKeys()
Submitted: 5 Dec 2013 8:16 Modified: 10 Dec 2013 18:26
Reporter: Peter Schäfer Email Updates:
Status: Verified Impact on me:
None 
Category:Connector / C++ Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any

[5 Dec 2013 8:16] Peter Schäfer
Description:
Connector C++ is missing a method to retrieve the values of AUTO_INCREMENT
columns after insert.

see:
http://docs.oracle.com/javase/6/docs/api/java/sql/Statement.html#getGeneratedKeys()

Alternatively, it would be helpful just to return the last inserted ID value
(see mysql_insert_id())

How to repeat:
(feature request)
[10 Dec 2013 18:26] Sinisa Milivojevic
Feature request that would be welcome.