Gregor Horvath wrote: > Ilias Lazaridis schrieb: >> >> I see, possibly this would work: >> >> class SOAbstract(SQLObject): >> pass >> >> class Person(SOAbstract): >> name = StringCol() >> >> class Professor(Person, SQLObject): >> timetable = StringCol() >> >> class Student(Person, SQLObject): >> year = StringCol() >> > > I tried this but doesn't work either because than name field in > Professor/Student is not generated because Person is not directly > inherited from SQLObject. > > Would be nice if createTable would look down the inheritance path if a > object is somewhere inherited from SQLObject.
yes, I agree. http://sqlobject.gcu.info/trac/ticket/287 . -- http://lazaridis.com ------------------------------------------------------------------------- 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 _______________________________________________ sqlobject-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
