my bad, i switched from using orm to raw insert statements for initial population of one table of my database and forgot to insert a value for the discriminator. thanks for the hint. best robert
On Fri, Jul 26, 2013 at 5:50 PM, Michael Bayer <[email protected]>wrote: > use echo="debug", then look at the column coming back which represents the > "discriminator". that value is what determines the type. > > > On Jul 26, 2013, at 11:20 AM, Robert Forkel <[email protected]> > wrote: > > hi all, > i have a problem with joined table inheritance, which seems pretty > difficult to boil down to a minimal test case; so I'm just throwing a prose > description out, hoping someone encountered and solved this: > When querying, the results are not converted to instances of the > specialized class, although the sql query seems to be created correctly, > i.e. including a "LEFT OUTER JOIN" clause. I don't really know how to go on > with debugging, so all I did so far was comparing this particular case with > others in my app where it works - without spotting any problems. > any ideas? > > robert > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.
