Add integration with Hibernate 4