Hi all Guys, we have found a little problem on iBatis3. We have create a xml mapper file with this query:
<update id="myUpdate" parameterType="MyBean" flushCache="true"> UPDATE TAB <set> <if test="id != null"> ID = #{id}, </if> <if test="desc != null"> DESC = #{desc, jdbcType=TIMESTAMP, typeHandler=SqlTimestampAsLongTypeHandler}, </if> </set> WHERE ... </update> where SqlTimestampAsLongTypeHandler is an our type handler. if there is a TAB character or a NEW LINE character between javaType and typeHandler parameter, the type handler is ignored. thanks all -- Marco Speranza <marco.speranz...@gmail.com>