Skip to content

Commit

Permalink
0003964: Mapped Oracle REAL type to MariaDB DOUBLE type
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Aug 16, 2022
1 parent 0c03427 commit 36e6356
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -399,8 +399,12 @@ public String getSqlType(Column column) {
if (pc == null) {
pc = column.getPlatformColumns() == null ? null : column.getPlatformColumns().get(DatabaseNamesConstants.ORACLE122);
}
if (pc != null && ("LONG".equals(pc.getType()) || "CLOB".equals(pc.getType()) || "NCLOB".equals(pc.getType()))) {
sqlType = "LONGTEXT";
if (pc != null) {
if ("LONG".equals(pc.getType()) || "CLOB".equals(pc.getType()) || "NCLOB".equals(pc.getType())) {
sqlType = "LONGTEXT";
} else if ("FLOAT".equals(pc.getType()) && pc.getSize() >= 63) {
sqlType = "DOUBLE";
}
}
return sqlType;
}
Expand Down

0 comments on commit 36e6356

Please sign in to comment.