Hibernate integration.