Meaningless Drivel is fun!*
The moose likes Object Relational Mapping and the fly likes MyBatis: how to get the id Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "MyBatis: how to get the id" Watch "MyBatis: how to get the id" New topic
Author

MyBatis: how to get the id

debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hi all,

my "UserDao" is like:

any my "UserServiceImpl" is like:


the number is always 1, all I need the ID of my table "user" where the new record is insert.
any suggestion would be great.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MyBatis: how to get the id