This commit is contained in:
Petrichor 2025-04-10 16:19:23 +08:00 committed by GitHub
commit 9a0ec8dcc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,7 +126,13 @@ public class SubCommonRdbmsReader extends CommonRdbmsReader {
case Types.BIT: case Types.BIT:
record.addColumn(new BoolColumn(rs.getBoolean(i))); record.addColumn(new BoolColumn(rs.getBoolean(i)));
break; 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: case Types.NULL:
String stringData = null; String stringData = null;
if (rs.getObject(i) != null) { if (rs.getObject(i) != null) {