added sql type conversion for text column type
@@ -58,11 +58,11 @@ public class SqlResultSetReader {
.put(Types.BIGINT, ColumnType.DOUBLE)
.put(Types.CHAR, ColumnType.STRING)
- .put(Types.LONGVARCHAR, ColumnType.STRING)
- .put(Types.LONGNVARCHAR, ColumnType.STRING)
.put(Types.NCHAR, ColumnType.STRING)
.put(Types.NVARCHAR, ColumnType.STRING)
.put(Types.VARCHAR, ColumnType.STRING)
+ .put(Types.LONGVARCHAR, ColumnType.TEXT)
+ .put(Types.LONGNVARCHAR, ColumnType.TEXT)
.build());
}
