On 10/24/05, Angel Cepa Pandiella <[EMAIL PROTECTED]> wrote: > I need to map inheritance as described in > http://db.apache.org/ojb/docu/guides/advanced-technique.html#Mapping+Classes > +on+Multiple+Joined+Tables but I have to generate the ojb schema from a > Torque one. I use Torque to generate the ojb schema & the database structure > automatically. > > Anyone knows how is the Torque schema that genetates the ojb one of the > link? I read some Torque documentation but there aren't examples available.
It's basically only the sum of the columns for the fields per class-descriptor, so in the specific case you'd have table A_TABLE with columns ID and VALUE_, and table B_TABLE with columns ID and VALUE_ (for the fields id and someValueFromB from class B). You might also add a foreignkey to table B, that points to A using ID for both the local and remote column. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
