Add case for handling JDBC type CLOB in JdbcUtils.

This commit is contained in:
Diederik Muylwyk 2019-10-08 11:55:03 -04:00
parent 3c4c6f7925
commit 175c0781eb
1 changed files with 2 additions and 0 deletions

View File

@ -235,6 +235,8 @@ public class JdbcUtils {
return new ColumnType(BaseTableColumnTypeTask.ColumnTypeEnum.DATE_TIMESTAMP, length);
case Types.BLOB:
return new ColumnType(BaseTableColumnTypeTask.ColumnTypeEnum.BLOB, length);
case Types.CLOB:
return new ColumnType(BaseTableColumnTypeTask.ColumnTypeEnum.CLOB, length);
default:
throw new IllegalArgumentException("Don't know how to handle datatype " + dataType + " for column " + theColumnName + " on table " + theTableName);
}