I've just tried making a referenced entity on my domain object set to
be fetched with a join (rather than lazy loaded). However, now when I
try to access another collection on the same domain object (that is
lazy loaded) I get a LazyInitializationException telling me "no
session or session was closed". The session is still open, and if I
set the referenced entity back to lazy loading, with no other changes,
then everything works fine.

Any ideas what's going on with this. You can mix lazy loading and
non-lazy loading on the same domain object, right?

Thanks!

James

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to