org.hibernate.loader.MultipleBagFetchException: cannot simultaneously fetch multiple bags
Hibernate doesn’t allow fetching more than one bag because that would generate a Cartesian product. Now, you will find lots of answers, blog posts, videos, or other resources telling you to use a Set instead of a List for your collections. That’s terrible advice! Using Sets instead of Lists will make the MultipleBagFetchException go away, … Read more