[task] added jpa and db configuration