Musings and bugs of a developer
This blog is a record of some development issues I have faced. There may be something of use!
Monday, 26 March 2007
Nhibernate: Date time field null on insert
Receiving exception when trying to save a record the stack tarce identified theproblem as a null value for a DateTime field.
This is caused by either:
Property not marked as nullable (? after Type in property declaration)
Existing record being flushed that contains an invalid null value for datetime.
‹
›
Home
View web version