I am using iBatis with oracle database. I found that if the database date field is null, the iBatis throws nullPointerException.
--- Check the result mapping for the 'activationDate' property. --- Cause: com.ibatis.common.beans.ProbeException: Could not set property 'activationDate' for java.util.Hashtable. Cause: java.lang.NullPointerException
I search the JavaDoc and seems the java.sql.Timestamp/Date does not allow null value.
1) How to solve this? I can write more steps to convert it back into date but I would like to know if there is other solution...
2) Does Hibernate have the same problem? [ April 11, 2007: Message edited by: Donald Fung ]