Connected Hibernate and Springframework