EntityRepository clear spaces to field type date, add type text.