diff --git a/jOOQ/src/main/java/org/jooq/impl/MetaImpl.java b/jOOQ/src/main/java/org/jooq/impl/MetaImpl.java index c69195a7f5..10949dc9d1 100644 --- a/jOOQ/src/main/java/org/jooq/impl/MetaImpl.java +++ b/jOOQ/src/main/java/org/jooq/impl/MetaImpl.java @@ -217,9 +217,11 @@ class MetaImpl implements Meta, Serializable { types = new String[] { "TABLE", "VIEW" }; break; - // [#2448] Avoid returning Oracle table SYNONYMs + // [#2448] Avoid returning Oracle table SYNONYMs. + // Note: "MATERIALIZED VIEW" is not included, as they are also + // returned as "TABLE" by Oracle JDBC case ORACLE: - types = new String[] { "TABLE", "VIEW", "MATERIALIZED VIEW" }; + types = new String[] { "TABLE", "VIEW" }; break; }