Select statement is executing infinite times when update happens during onetoMany bidirectional mapping

Hi,

I have a parent entity & child entity, where parent entity primary key field act as foreign key in child entity. Insert is happening properly, however during update, before update statement select statement is recursively going in infinite loop. Separate select statement is working.

In console select statement is displaying with parent class left outer join with child class. In entity in parent class @OneToMany(mappedBy=“id”,cascade = CascadeType.ALL, fetch=FetchType.EAGER) & @Fetch(value=FetchMode.SUBSELECT)
In child class have only @ManyToOne @JoinColumn(name=“ORDER_ID”).

Can some one help how to stop infinite loop during update transaction ?