} else if (MetadataHelper.isValidBlobType(getReferenceClass())) {
setFieldClassification(mapping, java.sql.Blob.class);
setConverter(mapping, new TypeConversionConverter(mapping));
} else if (Helper.classImplementsInterface(getReferenceClass(), Serializable.class)) {
setFieldClassification(mapping, java.sql.Blob.class);
setConverter(mapping, new SerializedObjectConverter(mapping));
} else {
// The referenceClass is neither a valid BLOB or CLOB attribute.
m_validator.throwInvalidTypeForLOBAttribute(getJavaClass(), mapping.getAttributeName(), getReferenceClass());
}
}