clazz = Class.forName(field.getType());
} catch (ClassNotFoundException e) {
e.printStackTrace();
throw new RuntimeException(e);
}
EntityType myType=Model.getEntityType(clazz);
OqlBuilder<T> builder=OqlBuilder.from(myType.getEntityName(), "restrictField");
String[] ids=StringUtils.split(text,",");
PropertyDescriptor pd=BeanUtils.getPropertyDescriptor(clazz, field.getKeyName());
Class<?> propertyType=pd.getReadMethod().getReturnType();
List<Object> realIds=CollectUtils.newArrayList(ids.length);