Oleg Broytmann schrieb:
> On Sat, Nov 11, 2006 at 08:38:32AM +0100, Gregor Horvath wrote:
> 
>>Ilias Lazaridis schrieb:
>>
>>>I'm asking just out of curiosity:
>>>wouldn't the typical implementation be:
>>>
>>>  class Person(SQLObject):
>>>      name = StringCol()
>>>
>>>  class Professor(Person):
>>>      timetable = StringCol()
>>>
>>>  class Student(Person):
>>>      year = StringCol()
>>>
>>>?
>>
>>Yes, but this doesn't work because the tables are not generated by
>>createTable if the object is not directly inherited from SQLObject.
> 
> 
>    Eh? What is wrong with this hierarchy? I am sure it works fine in
> SQLObject.

I am sorry. You are correct. I tried again and now it works.
I must have done something differently wrong trying this yesterday.

--
Greg

-------------------------------------------------------------------------
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

Reply via email to