You may consider using IStatlessSession Operations performed using a stateless session do not ever cascade to associated instances. Collections are ignored by a stateless session. Operations performed via a stateless session bypass bernate's event model and interceptors.
Stateless sessions are vulnerable to data aliasing effects, due to the lack of a first-level cache. A stateless session is a lower-level abstraction, much closer to the underlying ADO.
In this case IStatlessSession helped me. Thank you. – Marcin May 18 at 8:41 Problem is when object A has to sets: B and C.
B is changed and C is not. When I Save A, I would like to save A and B and not to update C. Is it possible?
– Marcin May 18 at 8:42.
To prevent cascade saving, you have to remove the attribute from the mapping. As mappings are built into session factory, there is no simple way to disable cascade temporarily.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.