Use hibernate session factory instead for spring