demo for jpa