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 .