ibatis « Date « Java Database Q&A





1. how to cope with a null Date in an ibatis mapping    stackoverflow.com

I have the following in one of my result mappings.

<result property="updateDate" column="update_date" javaType="java.util.Date"
jdbcType="DATE" nullValue="01/01/1900"/>
basically updateDate is a setter that accepts Date. However, sometimes updateDate will be null in the ...