Hi,

I m trying to marshall an object that extends another one. The pb is the ID
field. If i write myself the mapping it works OK. But if i try to generate
it from xdoclet i ve got the following pb :
the ID field is only described in the "mother class" and not in the subclass
(because the setter and getter of the ID field are in the mother class).

So i have to override the getter and setter in the subclass and add the
xdoclet tag, or add myself the lines
<field name="id" type="integer">
</field>

in my mapping file.

It is not really elegant so, have u got any idea ?

thanks.

--
jb cazaux



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

Reply via email to