jpa and hibernate using spring files