Thank you everyone, that should at least get me going, I will have to look
at the api script as well, because I am interested in dynamically creating
the classes.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Joost Moesker
Sent: Sunday, January 21, 2007 8:11 AM
To: TurboGears
Subject: [TurboGears] Re: sqlobject and tables


As said, when the tables are simlear you should just inherent from
plain SQLObject. The InheritableSQLObject follows the Class Table
Inhertance pattern. It creates a table with only the subclass columns
and obtains the superclass columns trough a join. Inherting from the
*normal* SQLObject class resembles the Concrete Table Inherentance
pattern.



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.3/642 - Release Date: 1/20/2007
10:31 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.3/642 - Release Date: 1/20/2007
10:31 PM
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to