migrated to Hibernate 4.1