clearing the old entity references in persistence.xml