Do you have some clear evidence or even better a test case?
You can find our test case template here: https://github.com/hibernate/hibernate-test-case-templates/tree/master/orm/hibernate-orm-5 .
You will have to downgrade ORM in the template.