hibernate 3 uses lazy loading. But, is it true that lazy load is mainly used when our POJO are like
Class A {
B b;
}
Class B {
..
}
i.e, POJO B is a class variable of POJO A, and meanwhile A and B map to two tables respectively ?
2. Without such class variable relation between the two POJOs, i.e. if we have several POJOs and each of them maps to a table, but none of them is a class variable of another POJO, then do we still need lazy load ??
Class A {
B b;
}
Class B {
..
}
i.e, POJO B is a class variable of POJO A, and meanwhile A and B map to two tables respectively ?
2. Without such class variable relation between the two POJOs, i.e. if we have several POJOs and each of them maps to a table, but none of them is a class variable of another POJO, then do we still need lazy load ??