CollectionConverter collectionConverter = this.getCollectionConverter(session, collectionDescriptor);
Object collection = ReflectionUtils.getNestedProperty(object, collectionDescriptor.getFieldName());
ManageableCollection manageableCollection = ManageableCollectionUtil.getManageableCollection(collection);
collectionConverter.insertCollection(session, objectNode, collectionDescriptor, manageableCollection);
}
}
private void updateCollectionFields(Session session, Object object, ClassDescriptor classDescriptor, Node objectNode) {
Iterator collectionDescriptorIterator = classDescriptor.getCollectionDescriptors().iterator();