Skip to content

Commit

Permalink
0003961: Mapped Oracle XMLTYPE type to MariaDB LONGTEXT type
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Aug 16, 2022
1 parent 36e6356 commit a2a5a26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public String getSqlType(Column column) {
pc = column.getPlatformColumns() == null ? null : column.getPlatformColumns().get(DatabaseNamesConstants.ORACLE122);
}
if (pc != null) {
if ("LONG".equals(pc.getType()) || "CLOB".equals(pc.getType()) || "NCLOB".equals(pc.getType())) {
if ("LONG".equals(pc.getType()) || "CLOB".equals(pc.getType()) || "NCLOB".equals(pc.getType()) || "XMLTYPE".equals(pc.getType())) {
sqlType = "LONGTEXT";
} else if ("FLOAT".equals(pc.getType()) && pc.getSize() >= 63) {
sqlType = "DOUBLE";
Expand Down

0 comments on commit a2a5a26

Please sign in to comment.