Previous version misses pom.xml, sorry for that. For running, just run "mvn test" with different versions of Hibernate in pom.xml