Upgraded to hibernate 4.3.7