This problem is similar to HHH-13094 Closed . When setting FetchType.EAGER to @ManyToAny.fetch, it's still loads the records lazily. XML configuration also has this problem.
I'll submit a PR for this issue.