How do I express this in a JDO mapping file:

id char8),        -- primary key
parent_id char(8) -- foreign key to same table

I need the mapping syntax to accomplish this.  This is an extremely
common SQL idiom.
I have left out details such as the foreign key declaration and
other data.
Thanks in advance.

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

Reply via email to