}
// If map key mapping, get the key or value mapping that will
// receive the converter.
if (mapping.isMapKeyMapping()) {
MappedKeyMapContainerPolicy policy = (MappedKeyMapContainerPolicy) mapping.getContainerPolicy();
mappingToApplyConvert = (DatabaseMapping) ((isForMapKey) ? policy.getKeyMapping() : policy.getValueMapping());
} else {
mappingToApplyConvert = mapping;
}
// If the mapping is an aggregate object mapping, validate the