It would greatly help if you could attach a runnable test case based on our templates found https://github.com/hibernate/hibernate-test-case-templates