return (Employee) queryObject(Employee.class, criteria);
return (IEmployee) queryObject(Employee.class, criteria);
    public IEmployee readByNumber(Integer number) throws ExcepcaoPersistencia {        Criteria criteria = new Criteria();        criteria.addEqualTo("employeeNumber", number);        return (Employee) queryObject(Employee.class, criteria);    }