ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Voss (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-370) no WRITABLE property with camel case properties
Date Wed, 22 Nov 2006 12:17:01 GMT
no WRITABLE property with camel case properties

                 Key: IBATIS-370
                 URL: http://issues.apache.org/jira/browse/IBATIS-370
             Project: iBatis for Java
          Issue Type: Bug
          Components: Tools
    Affects Versions: 2.2.0
            Reporter: Andreas Voss

I have a property in my domain model with getter/setter

int xAxis
int getXAxis()
void setXAxis(int x)

in the sqlmap there is a resultmap with result property="xAxis".

This causes the "no WRITABLE property" error. In ClassInfo.getSetterType() iBatis looks for
a setter of the property  "xAxis" in the map setTypes contains "XAxis" - so its not found.

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


View raw message