Michael Bayer wrote: > i havent looked yet but this is likely a bug in eager loading when it > interacts with polymorphic. are you on trunk ?
Nope. I just installed SQLAlchemy-0.4.2dev_r3952. And it's now working. SA 0.4.1: [...] FROM companies JOIN suppliers ON companies.id = suppliers.id JOIN addresses ON addresses.id = companies.id_address, companies JOIN suppliers ON companies.id = suppliers.id LEFT OUTER JOIN addresses AS addresses_1 ON addresses_1.id = companies.id_address [...] SA 0.4.2dev_r3952: [...] FROM companies INNER JOIN suppliers ON companies.id = suppliers.id INNER JOIN addresses ON addresses.id = companies.id_address LEFT OUTER JOIN addresses AS addresses_1 ON addresses_1.id = companies.id_address [...] Sorry, I forgot to check the trunk before sending to the list... Regards, -- Alexandre CONRAD - TLV FRANCE Research & Development --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---