This is mentioned in the migration guide for 6.0: hibernate-orm/migration-guide.adoc at 6.0 · hibernate/hibernate-orm · GitHub
You can either specify a max fetch depth to reduce the amount of joins or even better, try to get rid of EAGER fetching, because it’s a pain and cripples performance.