Nhibernate not tracking changes
Posted
by Lavinski
on Stack Overflow
See other posts from Stack Overflow
or by Lavinski
Published on 2010-06-10T02:20:04Z
Indexed on
2010/06/10
2:22 UTC
Read the original article
Hit count: 342
I'm using nhibernate and it appears that changes to my new object are not persisted. After creating and saving an object I then modify it and commit the transaction. However none of the modifications are saved. The strange thing is this code was working previously and I have no idea what could cause this. Nothing was changed that's obviously related..
As an attempted work around I saved the object later in the procedure after all the changes where made however I was greeted with an Assertion Failure collection [] was not processed by flush.
Any ideas?
© Stack Overflow or respective owner