From e5e59ed2f2ab840fd0c8ac38891cb3d9cb110465 Mon Sep 17 00:00:00 2001 From: Diego Plentz Date: Fri, 28 Sep 2007 03:18:02 +0000 Subject: [PATCH] [HHH-1329] SchemaValidator fail when views are involved git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14031 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java b/core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java index 1c880bd214..45436223a7 100644 --- a/core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java +++ b/core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java @@ -46,7 +46,7 @@ public class DatabaseMetadata { 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 {