jpa work