NHibernate Empty Set Clauses in SQL Update Statements

Posted by Brian Wilkinson on Stack Overflow See other posts from Stack Overflow or by Brian Wilkinson
Published on 2010-05-15T22:36:48Z Indexed on 2010/05/15 22:40 UTC
Read the original article Hit count: 198

Filed under:

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.

© Stack Overflow or respective owner

Related posts about nhibernate