sergey wrote:
What exactly does not work?
Sorry :oops: . I got over the last error so let me proceed with the next one appeared.
The extraction of Company object seems to work fine. Addresses are extracted normaly as well.
After that I alter one of the addresses by altering the State property.
When I call ISession.SaveOrUpdate(Company) I expect that altered address will be updated in COMPANY_ADDRESS table. Instead NHibernate just creates copy of that address with altered State property, no updation occurs.
Any ideas?