working on jpa