Hibernate 6, org.hibernate.jpa.QueryHints.HINT_PASS_DISTINCT_THROUGH has been removed?

Hi,

We use the following constant with Hibernate 5 and this one does not seem to exist anymore in version 6. Is there a replacement?

org.hibernate.jpa.QueryHints.HINT_PASS_DISTINCT_THROUGH

Regards

It’s part of the migration guide: hibernate-orm/migration-guide.adoc at 6.0 · hibernate/hibernate-orm · GitHub

Thanks for your response!