Ive checked this patch in changeset 1089, but I have not yet gotten a chance to run my oracle server to test against (its usually a several hours routine since then i have to get all the other unittests running again, etc....). if you want to test it, the unittest is 'engines.py', so run:

        python test/engines.py --db oracle


On Feb 21, 2006, at 4:11 PM, Andrija Zaric wrote:

I've wanted to play with sqlalchemy, but found that table reflection
for Oracle is not implemented.

Well, here is a quick patch that does the trick for me (single user,
just several datatypes). I don't know how to do the proper testing, so
it was just 'start and see if it works'. So far it does ;)

Code is written by looking at information_schema.py and other engines.
Queries are shamelessly ripped from
http://www.eveandersson.com/writing/data-model-reverse-engineering

- andrija
<oracle.patch>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to