Grigory Kislin, please attach a test case that reproduces your issue without Spring. You can find test templates at https://github.com/hibernate/hibernate-test-case-templates