specifying custom boolean typehandler doesn't include primitives ----------------------------------------------------------------
Key: IBATIS-512 URL: https://issues.apache.org/jira/browse/IBATIS-512 Project: iBatis for Java Issue Type: Bug Components: SQL Maps Affects Versions: 2.3.2 Reporter: Scott Morgan Priority: Minor Registering a TypeHandler only works with Boolean objects, not primitives. In my case I'm trying to map a Y/N value to a boolean primitive using the YesNoBoolTypeHandlerCallback provided in the docs. This TypeHandler is only used if I define the property in my class as a Boolean object, or if I specify the javaType="boolean" in the result map. Otherwise the BooleanTypeHandler is used and the value is alway false. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.