diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-19 00:34:37 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-19 00:34:37 -0500 |
commit | 8e1a4fdced253a58af309c93c24a8a492b646bb7 (patch) | |
tree | c7c208a2b1bb6edba4b9a1087d7824528142ad26 /lib/sqlalchemy/dialects | |
parent | 0087ec7286416d160f9919a1202bfec526f62fc1 (diff) | |
download | sqlalchemy-8e1a4fdced253a58af309c93c24a8a492b646bb7.tar.gz |
- some test fixes
- clean up some shenanigans in reflection
Diffstat (limited to 'lib/sqlalchemy/dialects')
-rw-r--r-- | lib/sqlalchemy/dialects/oracle/base.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sqlalchemy/dialects/oracle/base.py b/lib/sqlalchemy/dialects/oracle/base.py index 74a587d0b..218a7ccfc 100644 --- a/lib/sqlalchemy/dialects/oracle/base.py +++ b/lib/sqlalchemy/dialects/oracle/base.py @@ -181,7 +181,7 @@ from sqlalchemy import util, sql from sqlalchemy.engine import default, base, reflection from sqlalchemy.sql import compiler, visitors, expression from sqlalchemy.sql import operators as sql_operators, functions as sql_functions -from sqlalchemy import types as sqltypes +from sqlalchemy import types as sqltypes, schema as sa_schema from sqlalchemy.types import VARCHAR, NVARCHAR, CHAR, DATE, DATETIME, \ BLOB, CLOB, TIMESTAMP, FLOAT @@ -754,7 +754,9 @@ class OracleDialect(default.DefaultDialect): reflection_options = ('oracle_resolve_synonyms', ) - construct_arguments = [] + construct_arguments = [ + (sa_schema.Table, {"resolve_synonyms": False}) + ] def __init__(self, use_ansi=True, |