391392393394395396397398
} else if (mmd.getOrderMetaData()!=null && type.isAssignableFrom(java.util.List.class)) { type = java.util.List.class; } SCO sco = SCOUtils.newSCOInstance(op, mmd, mmd.getType(), type, value, forInsert, forUpdate, true); return sco; }
121122123124125126127128129130131132
} if (needsAttaching) { // Create a wrapper and attach the elements (and add the others) SCO collWrapper = replaceFieldWithWrapper(ownerOP, null, false, false); collWrapper.attachCopy(value); } else { if (value.size() > 0) {