aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
 
Similar Threads
how to send secret number to email
CodeLogic - Seuence Diagram generation for EAR Application attached screen shot .
HSQLDB - user lacks privilege or object not found
How to call Stored Procedure using jdbcTemplate and store result in object DTO/String/List/Result se
Hibernate not deleting rows