Fix jpa accessor