Skip to content

Commit

Permalink
fix on issue: 0003297: Treat Oracle DATE type as a TIMESTAMP
Browse files Browse the repository at this point in the history
  • Loading branch information
klementinastojanovska committed Nov 1, 2017
1 parent 5151b15 commit f9003f8
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -439,9 +439,11 @@ public static String toXml(Database db) {
public static boolean isOracle(Column column) {
Collection<PlatformColumn> platformColumns = column.getPlatformColumns()
.values();
for(PlatformColumn col: platformColumns) {
if(col.getName().equals(DatabaseNamesConstants.ORACLE)) {
return true;
if(platformColumns != null) {
for(PlatformColumn col: platformColumns) {
if(col.getName().equals(DatabaseNamesConstants.ORACLE)) {
return true;
}
}
}
return false;
Expand Down

0 comments on commit f9003f8

Please sign in to comment.