protected void processLob(DatabaseMapping mapping) {
// Set the field classification type on the mapping based on the
// referenceClass type.
if (isValidClobType(getReferenceClass())) {
setFieldClassification(mapping, java.sql.Clob.class);
setConverter(mapping, new TypeConversionConverter(mapping));
} else if (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.