Add case for handling JDBC type CLOB in JdbcUtils.
This commit is contained in:
parent
3c4c6f7925
commit
175c0781eb
|
@ -235,6 +235,8 @@ public class JdbcUtils {
|
||||||
return new ColumnType(BaseTableColumnTypeTask.ColumnTypeEnum.DATE_TIMESTAMP, length);
|
return new ColumnType(BaseTableColumnTypeTask.ColumnTypeEnum.DATE_TIMESTAMP, length);
|
||||||
case Types.BLOB:
|
case Types.BLOB:
|
||||||
return new ColumnType(BaseTableColumnTypeTask.ColumnTypeEnum.BLOB, length);
|
return new ColumnType(BaseTableColumnTypeTask.ColumnTypeEnum.BLOB, length);
|
||||||
|
case Types.CLOB:
|
||||||
|
return new ColumnType(BaseTableColumnTypeTask.ColumnTypeEnum.CLOB, length);
|
||||||
default:
|
default:
|
||||||
throw new IllegalArgumentException("Don't know how to handle datatype " + dataType + " for column " + theColumnName + " on table " + theTableName);
|
throw new IllegalArgumentException("Don't know how to handle datatype " + dataType + " for column " + theColumnName + " on table " + theTableName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue