I will update the page with the fix.

Nathan

On Feb 27, 2006, at 2:45 PM, Nils Winkler (JIRA) wrote:

[ http://issues.apache.org/jira/browse/IBATIS-257? page=comments#action_12368031 ]

Nils Winkler commented on IBATIS-257:
-------------------------------------

The provided documentation in the Wiki is wrong. Please have a look at the comment I added last November:

http://opensource2.atlassian.com/confluence/oss/display/IBATIS/How +do+I+use+a+Custom+Type+Handler+with+complex+property+or+Type+Safe +Enumeration?focusedCommentId=1913#comment-1913

The call to "wasNull()" has to be made after "getInt()", otherwise it will throw an Exception...


custom TypeHandlerCallback does not work - sometimes
----------------------------------------------------

         Key: IBATIS-257
         URL: http://issues.apache.org/jira/browse/IBATIS-257
     Project: iBatis for Java
        Type: Bug
  Components: SQL Maps
    Versions: 2.1.7
 Environment: WinXP; iBatis 2.1.7; Oracle 9i; JDK 1.4+
    Reporter: Thomas Wagner


The usage of a custom TypeHandlerCallback depends on the position of the column in the resultMap. If the previous colum has a value, all works fine. But if the value of the previous column is null, the mapping via a custom TypeHandlerCallback does not work.

--
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Reply via email to