Michael Bayer schrieb:
> 
> On Nov 5, 2007, at 6:44 AM, Michael Schlenker wrote:
> 
>> I tried with:
>>>>> meta.reflect(schema=msc_ora1)
>> but it raises the same exception. I have noticed the 'owner'  
>> attribute on the Table class,
>> but how can i specify an owner for reflection as requested by the  
>> Exception?
>>
> 
> you'd have to precreate those tables with the "owner" attribute:
> 
> 
> Table('tablename', meta, owner='someowner', autoload=True)
> 
Okay, found that workaround.

But the real fault is that database/oracle.py ignores the schema argument when 
table_names() is being called and that 
additionally no default schema name (which should be the USER) is set.

Filed ticket #847 for this, with a patch attached that fixes the issue.
There are other places in oracle.py with similar issues, after a cursory 
browsing.

Michael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to