ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Closed: (IBATIS-218) 'i' character in property names, with Turkish locale
Date Sun, 18 Dec 2005 15:25:35 GMT
     [ http://issues.apache.org/jira/browse/IBATIS-218?page=all ]
Clinton Begin closed IBATIS-218:

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

Fixed as described.  Thanks for the patch!

> 'i' character in property names, with Turkish locale
> ----------------------------------------------------
>          Key: IBATIS-218
>          URL: http://issues.apache.org/jira/browse/IBATIS-218
>      Project: iBatis for Java
>         Type: Bug
>   Components: SQL Maps
>     Versions: 2.1.5
>  Environment: Doesn't matter, when Locale.getDefault() return Turkish locale
>     Reporter: Bahri Gencsoy
>     Assignee: Clinton Begin
>     Priority: Blocker
>      Fix For: 2.2.0
>  Attachments: AutoResultMap.java
> You can not use 'i' character in sqlmap files for the name of any property if locale
is Turkish. 
> Reproducing is easy, say Locale.setDefault(new Locale("tr")) in application initilization
code and look at the values of properties containing 'i' character.
> The problem is about mapping the parameters to bean methods, not about retrieving bean
> Patch is easy, in com/ibatis/sqlmap/engine/mapping/result/AutoResultMap change following
>      propertyMap.put(propertyNames[i].toUpperCase(), propertyNames[i]);
> with:
>      propertyMap.put(propertyNames[i].toUpperCase(java.util.Locale.ENGLISH), propertyNames[i]);

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message