Spring, Hibernate basic configuration. Implement pattern Don't repeat the DAO