Upgraded to hibernate 4.3.5