[#2448] DSLContext.meta() returns Table objects for Oracle SYNONYMS,

without providing columns
This commit is contained in:
Lukas Eder 2013-05-09 14:24:34 +02:00
parent a425d1c9dc
commit d3dba89e7d

View File

@ -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;
}