jpa works