theres no direct support for a set of base classes to be in distinct tables. even though python has multiple inheritance, such a pattern represented explicitly within a relational database is not something ive ever seen. you might be able to hack this via mapping to selects, or setting up the mappers such that one "base" mapper inherits from the other "base" mapper, and the target mapper inherits from that.
On Sep 13, 2006, at 7:00 PM, Eric Hawthorne wrote: > i.e. can you persist an instance of a class that has multiple > independent superclasses? > > If it is supported, how would one go about specifying a good > mapping for this? > > Please no debates on merits of multiple inheritance. Python has it, > just possibly with good reason, > so an ORM claiming to persist python data objects should also > support it, IMHO. > > I can't readily make out an answer re multiple inheritance support > in sqlalchemy from the sqlalchemy website or google searches. > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________ > Sqlalchemy-users mailing list > Sqlalchemy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users