rodolasticot wrote:
Hi tderoo,
Did you find a solution to this problem ?
Would be very helpfull to me.
Thanks
No unfortunately this problem is still occuring. It seems that NHibernate is very much developed with a web interface in mind where you just have a page whith the session at the beginning, make your changes, and save them. Then you just take a new session for the next action. This does not combine very well with the forms approach where multiple screens could be amending the same information over a longer time span. At the moment I start to rely more on the 2nd level cache and sometimes just clear the current session before refreshing even if that feels like a waste of resources. Still waiting for the guru who could tell me a bit more :-) So sorry but no answers yet...