Manuel Dominguez Sarmiento, please attach a minimal test case that reproduces your issue. You can find a test template at https://github.com/hibernate/hibernate-test-case-templates.