inline parameter parsing error
------------------------------
Key: IBATIS-23
URL: http://nagoya.apache.org/jira/browse/IBATIS-23
Project: iBatis for Java
Type: Bug
Versions: 2.0.8
Reporter: Sandu Turcan
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://nagoya.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