On Jun 7, 2007, at 6:36 PM, Daniele Varrazzo wrote:

> a polymorphic fetch "ses.query(Employee).select()" correctly returns
> objects of all the classes, and the query "ses.query(Boss).select()"
> works fine as well. But while i expected "ses.query(Manager).select()"
> to fetch bosses too, an exception with the following error message is
> raised::
>
>     InvalidRequestError: Given column 'boss.person_id', attached to
> table 'boss',
>     failed to locate a corresponding column from table 'Join object on
> employees managers'

when was that raised...when defining mappers ?  this is all very hard  
to follow without an attachment of the full code.



--~--~---------~--~----~------------~-------~--~----~
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