child « Load « JPA Q&A

1. All children or only one child is loaded when specify lazy loading in JPA?

I coudn't find the behavior of lazy loading, If I have a "one to many" relationship in JPA annotated as lazy loading, when in my code I call the method "getChildren()" ...

2. How to tell Hibernate NOT to load childs

3. Eager loading of children

4. how avoid children loading?

5. Problem while loading child objects

Hibernate 3.2 cr2 Application Server : JBoss [Zion] 4.0.4.GA Mapping documents Parent Mapping file: Child Mapping file

6. unable to load child collection eagerly..

I have a bi-directional cascade="all" and inverse="true" mapping from a parent to a child with the following mapping files. Parent.hbm.xml Code: ...