Does this happen only when an @Any is in an @Embeddable?
Please create a pull request with an additional test to org.hibernate.test.annotations.any.AnyTest that reproduces your issue and the proposed fix.