Martin Kožený, there have been several bugfixes related to this in recent releases. Please let us know if this is still an issue using 5.2.14. If it is, then please attach a runnable test case that reproduces your issue. You can find test templates at: https://github.com/hibernate/hibernate-test-case-templates. |