Adding SYNONYM in the list of searched types.

This commit is contained in:
Baptiste Mathus 2013-04-15 11:04:27 +02:00 committed by Brett Meyer
parent d9aa9d3cd2
commit 15a0868bd7
1 changed files with 1 additions and 1 deletions

View File

@ -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 {