Hi,

 Is it possible to define a class which <map-to> element has no table="" ,
while the derived class will have one? Something like this:

 <class name="Base">
        <map-to />

        <field name="id" required="false" type="integer">

                <sql name="id" type="integer"/>

        </field> 
 </class>

 and the derived class:

 <class name="Derived" identity="id" extends="Base" key-generator="MAX">
        <map-to table="test" xml="Test"/>

        <field name="name" required="false" type="string">

                <sql name="name" type="string"/>

        </field> 
 </class>

 The test table includes the 'id' and the 'name' columns in it. 

 Thanks,
 Alex

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to