Issue Details (XML | Word | Printable)

Key: NUCRDBMS-638
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

MySQL : getGeneratedKeys needs to have flag set in Statement.executeUpdate or Connection.prepareStatement

Created: 30/Jan/13 08:55 PM   Updated: 01/Feb/13 07:41 AM   Resolved: 30/Jan/13 09:11 PM
Component/s: Connection
Affects Version/s: None
Fix Version/s: 3.2.0.m3


 Description  « Hide
See http://stackoverflow.com/questions/7162989/sqlexception-generated-keys-not-requested-mysql

Other RDBMS don't need this, but MySQL seemingly does (at least with 5.1.x JDBC driver)

Andy Jefferson added a comment - 30/Jan/13 09:11 PM
SVN trunk has this added

Andy Jefferson made changes - 30/Jan/13 09:11 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.2.0.m3 [ 11840 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Feb/13 07:41 AM
Status Resolved [ 5 ] Closed [ 6 ]