Suppose there is a parent class, and I load it with lazy = "true".
Is there a way to verify that a collection is not loaded into memory before an explicit call has been made to it?
public class Parent{
private Intger parentId;
Set <Child> child = new HashSet();
}
Class child:
public class Child{
private Integer childId;
Parent p;
}
When I load the parent element before the call parent.getChild(), is there a way to verify that the child is not loaded into memory?
source
share