db-torque-user 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:44:10 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">

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


Free email with personality! Over 200 domains!

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

View raw message