Hi
When flushing the session, NHibernate tries to update all the entities loaded until that moment. It says that one of the attributes is dirty. This specific attribute is DATE type and allows null.
I've noticed that when hydrating the object, the NULL value from Oracle is being converted to System.DateTime.MinValue (1/1/1).
After that, when the NHibernate.Type.DateTimeType tries to compare the two entities, the dirty is done (1/1/1 != <undefined value>).
Any idea?
I'm using NHibernate 0.8.4.0 with Oracle 9.2.0.6.0
Any help would be appreciated.
Guilherme Guimaraes.
|