cleaning jpa part