diff --git a/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java b/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java index 4fcadebe3e..f62c8e7514 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java @@ -70,7 +70,7 @@ public class DatabaseMetadata { initSequences(connection, dialect); } - private static final String[] TYPES = {"TABLE", "VIEW"}; + private static final String[] TYPES = {"TABLE", "VIEW", "SYNONYM"}; public TableMetadata getTableMetadata(String name, String schema, String catalog, boolean isQuoted) throws HibernateException {