Support Hibernate4