db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patric Leegrave" <torque...@starmail.com>
Subject Inheritance
Date Fri, 15 Oct 2004 10:42:27 GMT
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-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message