Ok, here is what I have right now:
<field name="childNode" type="xdo.Node2" collection="array">
<sql many-key="id" name="parent_node_id"/>
</field>
"array" is the correct collection type in this case.
Here is the error I am getting at run time:
[my_name] java.lang.IllegalArgumentException: Collection Proxy
doesn't exist for it type
Any clues?
>--- Original Message ---
>From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Date: 9/14/01 11:48:43 AM
>
>
>
>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
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev