Object ele = Array.get(val, i);
// 如果是POJO或者容器
if (Mirror.me(ele.getClass()).isObj()) {
if (field.isRef()) {
MongoEntity en = Mongos.entity(val.getClass().getComponentType());
DBObject dbo = en.toDBObject(ele);
if (dbo.containsField("_id")) {
array[i] = new DBRef(null, en.getCollectionName(null), dbo.get("_id"));
continue;
} else {
if (log.isWarnEnabled())