Re: [Sqlalchemy-users] Oracle table reflection

2006-03-08 Thread Michael Bayer
I checked in a few small tweaks to oracle to get testbasic to work, including that the Table objects it gives back will always have the table name as lowercase (always queries with them uppercase obviously). so check it out and look into some of the other tests if you like. I think I ma

Re: [Sqlalchemy-users] Oracle table reflection

2006-03-06 Thread Michael Bayer
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:

Re: [Sqlalchemy-users] Oracle table reflection

2006-02-21 Thread Andrija Zaric
After little juggling with upper and lower case for table name, it fails just one test ERROR: testtoengine (__main__.EngineTest) because I don't have postgres installed. Oh, and I've changed the func.current_date() into func.sysdate() to pass the testbasic. On 21/02/06, Michael Bayer <[EMAIL PRO

Re: [Sqlalchemy-users] Oracle table reflection

2006-02-21 Thread Michael Bayer
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

[Sqlalchemy-users] Oracle table reflection

2006-02-21 Thread Andrija Zaric
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 ;)