tool for generation resultMap,parameterMap, insert, update, delete statement. 
Using annotation  and apt
-------------------------------------------------------------------------------------------------------

         Key: IBATIS-287
         URL: http://issues.apache.org/jira/browse/IBATIS-287
     Project: iBatis for Java
        Type: New Feature

  Components: SQL Maps  
    Versions: 2.1.7    
 Environment: any
    Reporter: Izhikov NIkolay


I wrote little tool for IBatis. It can generate resultMap, parameterMap, 
insert, update, delete statement. that is example. If developers find it 
usefull. I can providu source code and maintain it as IBatis part.

@IBatisBean(table = "Users", namespace = "User", generateDelete = true, 
generateUpdate = true, generateInsert = true)
public class User {
    @IBatisBeanField(column = "UserID", primaryKey = true) private Integer 
userId;
    @IBatisBeanField(column = "UserName") private String userName;
    @IBatisBeanField(column = "Login") private String login;
    @IBatisBeanField(column = "Password") private String password;

//getters, setters....
}




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to