Reflection should use uppercase names to query Oracle dictionaries

Issue #100 resolved
Anonymous created an issue

Oracle users upper case in it's dictionaries. We should use upper() when consulting Oracle dictionary.

There is also a bug when resolving referenced tables. Table name (string) is treated as table object.

Comments (3)

  1. Anonymous

    Later, I also found a change to line 176 (missing lower for referred_table):

        remotetable = Table(referred_table.lower(), self, autoload = True)

    Aside from upper/lower issues there is a reference to primary_key0 on the next line. I'm just wandering what if it is a composite primary/foreign key? This is my first hour and a half with SQLAlchemy so somebody else should look into this.

  2. Log in to comment