for (int index = 0; index < fkFieldNames.length; index++) {
String targetField = getType().getDescriptor().getPrimaryKeyFields().get(index).getName();
mapping.addTargetForeignKeyFieldName(fkFieldNames[index], targetField);
}
mapping.useTransparentList();
return (OneToManyMapping) addMapping(mapping);
}
/**