If your queries do the same as the queries executed behind the scene using Hibernate when they are lazy loading children, I donโt see what you are getting, but just donโt use the OneToMany association.
If you know what you are doing, and what each method calls in your organization, it means that in terms of database queries, you should not have problems with matching collections. Sometimes it is wise to cross them, sometimes it is better to use a special query to avoid too many calls to the database. The key is to understand what is happening.
Having asociation can also be very useful to be able to navigate through it in HQL queries, not necessarily to invoke the associated getter.
Jb nizet
source share