You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a standard flow in any DAL - insert a new record, and get the new
auto-generated / auto-incremented ID.
I haven't found how to do this with mybatis.
I found this question on how to do it on Postgres, but it doesn't work for me
on mysql.
http://stackoverflow.com/questions/4260428/mybatis-how-to-return-the-id-of-the-i
nserted-object-under-postgres
I'm cross-posting this to Stack Overflow
http://stackoverflow.com/questions/4283159/howto-return-ids-on-inserts-with-myba
tis-in-mysql-with-annotations
Original issue reported on code.google.com by ron.gr...@gmail.com on 26 Nov 2010 at 7:21
Original issue reported on code.google.com by
ron.gr...@gmail.com
on 26 Nov 2010 at 7:21The text was updated successfully, but these errors were encountered: