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