Re: [sqlalchemy] Eagerloading a polymorphic relationship's attributes

2010-08-01 Thread Michael Bayer
On Jul 31, 2010, at 6:56 PM, Nikolaj wrote: I have a one to one relationship between Company and Employee where Employee is subclassed using joined table inheritance into Manager and Engineer. I'm trying to query for a list of companies with the employee eagerloaded including the

Re: [sqlalchemy] Merge support with ConcreteInheritedProperty

2010-08-01 Thread Michael Bayer
On Jul 31, 2010, at 7:41 AM, Kent wrote: When I call merge() on an ArTran object, the merge() method of a ConcreteInheritedProperty 'artransarchiveid' that *exists only on ArTranArchive* is being called. The attribute artransarchiveid also exists on your base mapper, since the base mapper