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 812d3f6bf0
commit e2afe7f55d
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 {