Hibernate integration and Hibernate test.