Hello, Well you're right.
MySQL returns GENERATED_KEY. No problem on H2 then. Keep the good work. On 4 fév, 19:04, Thomas Mueller <[email protected]> wrote: > Hi, > > > I was guessing it would be id for both. > > No, it's IDENTITY() because the JDBC driver executes CALL IDENTITY() > when you call ResultSet.getGeneratedKeys(). > > I don't think it's a bug, it's just undocumented. Do you know how > other databases work? > > Regards, > Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---
