Joined: Tue Mar 27, 2007 10:55 pm Posts: 2101 Location: Earth Has thanked: 39 time Have thanks: 56 time
The following show relationship @OneToMany , when using fetch Type EAGER . fetch Type EAGER , means the data are loaded eagerly . For example if we have entity topic and entity comment which are related to each other . If you loaded topic entity , its related comments array will be loaded too in same-time ,but take care ,this may cause a performance issues . Sometimes you don't need the related data of your entity to be loaded .