which two tables are concrete ? I dont see the "concrete=True" keyword used in your mapping setup, but then again I don't see the "inherits" keyword either, so the usage of polymorphic_identity/ polymorphic_on is useless here. you'd just configure Node and Product mappers completely separately.
On Feb 13, 2009, at 8:39 AM, Bruce van der Kooij wrote: > > On Feb 12, 11:02 pm, [email protected] wrote: >> is this joined inheritance or concrete? >> IMO if Product inherits Node, they has to have same PK? > > Concrete (separate tables). The examples from the documentation indeed > use the same PK (employee_id). However, I'm hoping there's some way to > get around this (and there probably is) since I'd rather not modify > the database which is initially created by and for another > application. > > Best regards, > > Bruce > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
