Hi all,
I am debugging an update when performing a select statement. I have found some information regarding this issue due to bad mapping with database alignment, specially with nullables.
BTW I have found that with log4net enabled I get some exceptions not shown otherwise. Is that possible? Is this some kind of mechanism to give more detail issues?
For instance I get a "NHibernate.PropertyValueException: Error dehydrating property value for Company.Businessframework.Domain.FileInfoEntity.Client ---> System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'." that I do not receive if I execute the same without logging.
Best Regards