setup jpa and entity