[ http://issues.apache.org/jira/browse/IBATIS-229?page=all ]
     
Clinton Begin closed IBATIS-229:
--------------------------------

    Fix Version: 2.2.0
     Resolution: Fixed
      Assign To: Clinton Begin

Fixed as described.

> Method getWriteablePropertyNames in com.ibatis.common.beans.ComplexBeanProbe 
> gets the readable property names
> -------------------------------------------------------------------------------------------------------------
>
>          Key: IBATIS-229
>          URL: http://issues.apache.org/jira/browse/IBATIS-229
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.1.6, 2.1.5
>     Reporter: Jan-Peter Rusch
>     Assignee: Clinton Begin
>      Fix For: 2.2.0

>
> I came over that issue by the error:
> Caused by: com.ibatis.common.beans.ProbeException: There is no WRITEABLE 
> property named 'XXX' in class 'YYY'
> While checking the source code I found the following:
> package com.ibatis.common.beans;
> ...
> public class ComplexBeanProbe extends BaseProbe { 
> ...
>  /**
>    * Returns an array of the writeable properties exposed by a bean
>    *
>    * @param object The bean
>    * @return The properties
>    */
>   public String[] getWriteablePropertyNames(Object object) {
>     return 
> ClassInfo.getInstance(object.getClass()).getReadablePropertyNames();
>                                                                               
>                   ^^^^^^^^^^^
>   }
> Looks like a copy&paste error... :)

-- 
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