I have following in my result mapping:

<result property="updateDate" column="update_date" javaType="java.sql.Date"
jdbcType="DATE" nullValue="01/01/1900"/>

setUpdateDate is accepting parameter of type Date
update_date column can sometimes be null. In this case I want the date to be
01/01/1900.

It is giving me an error: java.lang.RuntimeException: Error setting property
'setUpdateDate'

What is the way to put nullValue for a date field?

Reply via email to