mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-01 22:42:53 +08:00
Merge 1481ed4ddf
into 0824b45c5e
This commit is contained in:
commit
9a0ec8dcc4
@ -126,7 +126,13 @@ public class SubCommonRdbmsReader extends CommonRdbmsReader {
|
||||
case Types.BIT:
|
||||
record.addColumn(new BoolColumn(rs.getBoolean(i)));
|
||||
break;
|
||||
|
||||
case Types.SQLXML:
|
||||
String xmlData = null;
|
||||
if (rs.getSQLXML(i) != null) {
|
||||
xmlData = rs.getSQLXML(i).getString();
|
||||
}
|
||||
record.addColumn(new StringColumn(xmlData));
|
||||
break;
|
||||
case Types.NULL:
|
||||
String stringData = null;
|
||||
if (rs.getObject(i) != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user