|
|
|
@ -420,6 +420,8 @@ public class MappingMongoConverter implements MongoConverter, ApplicationContext |
|
|
|
dbList.add(dbRef); |
|
|
|
dbList.add(dbRef); |
|
|
|
} else if (type.isArray() && MappingBeanHelper.isSimpleType(type.getComponentType())) { |
|
|
|
} else if (type.isArray() && MappingBeanHelper.isSimpleType(type.getComponentType())) { |
|
|
|
dbList.add(propObjItem); |
|
|
|
dbList.add(propObjItem); |
|
|
|
|
|
|
|
} else if (MappingBeanHelper.isSimpleType(propObjItem.getClass())) { |
|
|
|
|
|
|
|
dbList.add(propObjItem); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
BasicDBObject propDbObj = new BasicDBObject(); |
|
|
|
BasicDBObject propDbObj = new BasicDBObject(); |
|
|
|
write(propObjItem, propDbObj, mappingContext.getPersistentEntity(prop.getTypeInformation())); |
|
|
|
write(propObjItem, propDbObj, mappingContext.getPersistentEntity(prop.getTypeInformation())); |
|
|
|
|