You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Izhikov NIkolay (JIRA)" <ib...@incubator.apache.org> on 2006/04/12 11:32:26 UTC

[jira] Created: (IBATIS-287) tool for generation resultMap,parameterMap, insert, update, delete statement. Using annotation and apt

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


[jira] Closed: (IBATIS-287) tool for generation resultMap,parameterMap, insert, update, delete statement. Using annotation and apt

Posted by "Jeff Butler (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-287?page=all ]
     
Jeff Butler closed IBATIS-287:
------------------------------

    Resolution: Invalid

This is not an appropriate use of JIRA.

There were no comments to the announcement of this tool on the developer's list.  I believe that is because there was very little information provided about what the tool does, or where it fits in the development cycle.

I suggest that you bundle up the tool, write some documentation, and make it publically available somewhere (Sourceforge???).  Then we'll be able to see if there is any interest from the community.


> 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