A unidirectional one-to-many relationship using a List forces Hibernate to manage the association using an intermediate join table or execute inefficient update statements. Use a bidirectional @ManyToOne mapping instead. 3. Mastering the N+1 Query Problem
What are you using (PostgreSQL, MySQL, Oracle)?
Use Bulk Updates .