Author: d.plentz
Date: 2007-09-27 23:18:36 -0400 (Thu, 27 Sep 2007)
New Revision: 14032
Modified:
core/branches/Branch_3_2/src/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java
Log:
[HHH-1329] SchemaValidator fail when views are involved
Modified: core/branches/Branch_3_2/src/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java
===================================================================
---
core/branches/Branch_3_2/src/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java 2007-09-28
03:18:02 UTC (rev 14031)
+++
core/branches/Branch_3_2/src/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java 2007-09-28
03:18:36 UTC (rev 14032)
@@ -46,7 +46,7 @@
initSequences(connection, dialect);
}
- private static final String[] TYPES = {"TABLE"};
+ private static final String[] TYPES = {"TABLE", "VIEW"};
public TableMetadata getTableMetadata(String name, String schema, String catalog,
boolean isQuoted) throws HibernateException {
Show replies by date