support hibernate 4.2.0