I have a class named "User", this class has a one-to-one relationship with a class "Person". Yet, it has a regular string property, wich I'm trying to update (not touching the "Person" property), but when I call SaveOrUpdate(), it does nothing. In sessionImpl.cs:
Code:
EntityEntry e = GetEntry( theObj );
if( e != null && e.Status != Status.Deleted )
{
// do nothing for persistent instances
log.Debug( "SaveOrUpdate() persistent instance" );
}
When I debug, the "if" condition result is true, so NHibernate explicitelly says it won't do anything. Why is this?
I mentioned the Person property because it's this property the one in charge of originally creating the User instance, but in an independent earlier stage, and it does so perfectly.
Help. please...
Alejandro.