change all hibernate dependencies to Spring dependencies