Configure Hibernate.