결과 매핑 중 하나에서 다음을 수행합니다. null 대처 방법 ibatis 매핑에서의 날짜
<result property="updateDate" column="update_date" javaType="java.util.Date"
jdbcType="DATE" nullValue="01/01/1900"/>
은 기본적으로
updateDate
는
Date
을 받아들이는 세터입니다. 그러나 때때로
updateDate
은 데이터베이스에
null
이됩니다. 이 경우 기본 날짜는
01/01/1900
입니다.
updateDate
는 DB
Cause: java.lang.RuntimeException: Error setting property 'setUpdateDate'