[ http://issues.apache.org/jira/browse/IBATIS-370?page=all ]

Jeff Butler closed IBATIS-370.
------------------------------

    Resolution: Invalid

This isn't a bug - it is a peculiarity in the Javabeans spec.  It turns out 
that it is impossible to have a property with only the first letter being lower 
case.  You must specify the property as "XAxis".

Please use the mailing lists to ask questions before submitting a bug.


> 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

        

Reply via email to