Configure Hibernate framework