I'm prety new to NHibernate so forgive me if the question is stupid ;)
I dont understand the behavior of the session object -
Why cant I load an object more than once?
I'll explain - I'm using the session.Load(object,id) overload of the Load method do get the object with the corresponding ID from the DataBase,
The second time I'm trying to load the object, I get an NonUniqueObjectException - why???
I understand that the NHibernate caches my loaded objects in an internal cache, so why doesnt the session lets me access this stored objects once more?
Thanks for any help and sorry if the question is dumb ;)
-- Ram
|