adding the Criteria to the persistence.xml.