I have been having a problem with inheritance with a certain object:

<class name="Foo" identity="title">
   <field name="title" type="string">
      <bind-xml name="title" node="attribute"/>
   </field>
   ...
</class>

<class name="Bar" extends="Foo">
   ...
</class>

When I write out a Bar object it throws the exception:

org.exolab.castor.mapping.MappingException: No field descriptor found for the identity 
field title in
class Bar

Doesn't inheritance work for fields?

- Drew
--
Drew Davidson
Chief Scientist/Director, Research & Development
OGNL Research Labs
(520) 531-1966
(520) 370-5117 (cell)
(520) 531-1965 (fax)
[EMAIL PROTECTED]
http://www.paintyourselfsilly.com
http://www.ognl.org

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

Reply via email to