Added spring-orm and hibernate-core dependencies.