You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Tom Green (JIRA)" <ib...@incubator.apache.org> on 2008/07/17 04:47:31 UTC

[jira] Created: (IBATIS-523) ibator-1.2.0 HEAD: EqualsHashCodePlugin fails on primitive column def

ibator-1.2.0 HEAD: EqualsHashCodePlugin fails on primitive column def
---------------------------------------------------------------------

                 Key: IBATIS-523
                 URL: https://issues.apache.org/jira/browse/IBATIS-523
             Project: iBatis for Java
          Issue Type: Bug
          Components: Tools
            Reporter: Tom Green


A simple bug with a simple fix.  If you give a columnOverride with a primitive javaType, and have EqualsHashCodePlugin enabled, you'll get a syntax error in the generated equals(), due to leaving off a statement-final semicolon.  Attached is a patch to fix it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (IBATIS-523) ibator-1.2.0 HEAD: EqualsHashCodePlugin fails on primitive column def

Posted by "Jeff Butler (JIRA)" <ib...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/IBATIS-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Butler closed IBATIS-523.
------------------------------

    Resolution: Fixed

Fixed in SVN.

Thanks for the patch!


> ibator-1.2.0 HEAD: EqualsHashCodePlugin fails on primitive column def
> ---------------------------------------------------------------------
>
>                 Key: IBATIS-523
>                 URL: https://issues.apache.org/jira/browse/IBATIS-523
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Tom Green
>            Assignee: Jeff Butler
>         Attachments: equalsfix.patch
>
>
> A simple bug with a simple fix.  If you give a columnOverride with a primitive javaType, and have EqualsHashCodePlugin enabled, you'll get a syntax error in the generated equals(), due to leaving off a statement-final semicolon.  Attached is a patch to fix it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.