Here is a minimal test-case : https://github.com/lalmeras/hibernate-test-case-templates/commit/50f46ec94d1a6af7a7d099d64026aec4b0004197
# tests: 2/2 OK mvn -f hibernate-orm-5/ test # tests: 1 OK, 1 failure mvn -f hibernate-orm-6/ test # tests: 1 OK, 1 failure mvn -f hibernate-orm-6/ test -Dversion.org.hibernate=6.1.7.Final # tests: 1 OK, 1 failure mvn -f hibernate-orm-6/ test -Dversion.org.hibernate=6.0.2.Final