Could you prepare a test case using our test case template: https://github.com/hibernate/hibernate-test-case-templates/tree/master/orm/hibernate-orm-5 ?
Because, without the model, it's not really possible to know what's going wrong.
Thanks.