NHibernate Empty Set Clauses in SQL Update Statements
- by Brian Wilkinson
I'm getting SQL update statements from NHibernate having a empty set clause ie
UPDATE SET WHERE x == ?
This propblem is occuring when a child entity is being updated for some reason the sql statement is being run against the Parent Entity, for some reason NHibenate is saying the parent has changed but when the set clause is being built no changes are found, can anyone help.
The application I am constructing isn 3 tier. The domain entities are light weight data contract only entities.