upgraded to hibernate 4.2