Control and configuration of Hibernate with Spring Framework