Please can you attach a runnable test case that reproduces your issue? The code at https://github.com/hibernate/hibernate-test-case-templates can be used to create a test case.
Thanks