Skip to content

Commit e2afe7f

Browse files
Baptiste Mathusbrmeyer
authored andcommitted
Adding SYNONYM in the list of searched types.
1 parent 812d3f6 commit e2afe7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public DatabaseMetadata(Connection connection, Dialect dialect, boolean extras)
7070
initSequences(connection, dialect);
7171
}
7272

73-
private static final String[] TYPES = {"TABLE", "VIEW"};
73+
private static final String[] TYPES = {"TABLE", "VIEW", "SYNONYM"};
7474

7575
public TableMetadata getTableMetadata(String name, String schema, String catalog, boolean isQuoted) throws HibernateException {
7676

0 commit comments

Comments
 (0)