excellent ! i knew someone would do it. adding this to my TODO. you can try the unit test 'python test/engines.py --db oracle' to give it a shot on your end.

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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to