[ 
https://issues.apache.org/jira/browse/IBATIS-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645842#action_12645842
 ] 

Kevin Seim commented on IBATIS-498:
-----------------------------------

Minimally, and assuming I'm reading the source code correctly, it would nice if 
reversePrimitiveMap in the class TypeHandlerFactory, could contain "char.class" 
so that users of Ibatis could register there own default type handler for char 
primitives without having to specify javaType="java.lang.Character" for every 
char attribute in every resultMap and parameterMap.

> CharTypeHandler
> ---------------
>
>                 Key: IBATIS-498
>                 URL: https://issues.apache.org/jira/browse/IBATIS-498
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: SQL Maps
>    Affects Versions: 2.3.0
>            Reporter: Chad Oliver
>
> There currently is no CharTypeHandler defined in iBatis.    Defining a 
> CharTypeHandler in the TypeHandlerFactory would be very useful.
> For example.
>   public TypeHandlerFactory() {
>     TypeHandler handler;
>     // added by co11983
>     handler = new CharTypeHandler();
>     register(Character.class, handler);
>     register(char.class, handler);
>     // added by co11983
>  ........................................
> .........................................

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to