arrayValue[j] = tx.fetch(fieldClassMolder, (Identity) v.get(j), null);
}
_fieldMolder.setValue(object, arrayValue, tx
.getClassLoader());
} else {
CollectionProxy cp = CollectionProxy.create(_fieldMolder,
object, tx.getClassLoader());
// clear collection
_fieldMolder.setValue(object, cp.getCollection(), tx
.getClassLoader());
for (int j = 0; j < v.size(); j++) {
Object obj = tx.fetch(fieldClassMolder, (Identity) v.get(j), null);
if (obj != null) {
cp.add((Identity) v.get(j), obj);
}
}
cp.close();
// fieldMolder.setValue( object, cp.getCollection() );
}
} else {
_fieldMolder.setValue(object, null, tx.getClassLoader());
}