implement paritally jpa