Hi
I have this crazy problem.
I'm using Hibernate with Weblogic 8.1. Lazy initialization is turned on. I have a simple bean that has a list of related objects within it.
When I look up an object (using Criterias) and then do an Object.getRelatedObjects() call in my DAO layer, i get the related objects without a hitch. When I do the same thing on my JSP/JPF I get the object but not its related objects. The list of related objects is always returned null.
Is this because of lazy initialization??? I can't understand this behaviour.
Thanks in advance,
Rajiv
|