modifications to jpa
fix