Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.0.5 or 3.1.3
Hi all,
While playing with lazy models, I'm in a situation where I have a proxy which has its Session property open, but its target session is closed.
Is this normal?
I call session.lock() on this proxy but the target session property is closed and so I get lazyinitialization exceptions. :(
What I mean by target session is closed is that target holds a lazy collection which is mapped with cascade="lock" but this PersistentSet session isn't open with calls to lock.
What could be causing that? Am I missing something?
Thanks in advance.