You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Clinton Begin (JIRA)" <ib...@incubator.apache.org> on 2004/12/31 01:49:39 UTC

[jira] Closed: (IBATIS-23) inline parameter parsing error

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

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

fixed as described.  thanks for the detailed entry.

> inline parameter parsing error
> ------------------------------
>
>          Key: IBATIS-23
>          URL: http://issues.apache.org/jira/browse/IBATIS-23
>      Project: iBatis for Java
>         Type: Bug
>     Versions: 2.0.8
>     Reporter: Sandu Turcan
>     Assignee: Clinton Begin
>      Fix For: 2.0.9

>
> The parser fails to process the new format for inline parameters.
> For a string like #propertyName,jdbcType=NUMERIC# it will assume the whole string to be the property name.
> It's happening because of a bug in InlineParameterMapParser.newParseMapping. 
> At the end of the method there is a line (#121 from 2.0.8.470): 
> <code> 
> handler = resolveTypeHandler(typeHandlerFactory, parameterClass, token, mapping.getJavaTypeName(), mapping.getJdbcTypeName()); 
> </code> 
> it uses the variable "token" instead of "mapping.getPropertyName()". 

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira