s3 gendb with jpa and jdbc