upgraded to jpa 2.1 and hibernate 4.3