You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Patric Leegrave <to...@starmail.com> on 2004/10/15 12:44:10 UTC

Inheritance

Hi Developers

I need to create the following Objects with torque on a mysql Database.

Object: ITComponent Fields: ID, Name
Object: Monitor Fields: ID, Name, Resolution
Object: Keyboard Fields: ID, Name, Layout

I would like to map those also with inheritance, like java do ( e.g :
Monitor extends ITComponent). Is this possible to handle it with torque or
not. Inheritance is described, but it does'nt work. If im wrong, please
confute it with sample xml.
Torque is realy cool, but inheritance is a must to have in a OR-Mapper
Is there not a function like 

<table name="ITComponent">
....colums
</table>

<table name="Monitor" inheritance="ITComponent">
</table>

Greets
Patric


_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org