Hi,
I don't see any junit examples where a collection proxy uses an
indirection table. Should the following be ok? My test case never
seems to load the children collection, even when its content is
accessed: children is always null.
<class-descriptor
class="mond.phenomenon.ojbdb.DBPBranch"
table="PNODE_FLAT"
>
...
<collection-descriptor
name="children"
element-class-ref="mond.phenomenon.ojbdb.DBPNode"
proxy="true"
auto-retrieve="false"
auto-update="false"
indirection-table="P_PARENT_CHILD"
>
<fk-pointing-to-this-class column="PARENT_ID"/>
<fk-pointing-to-element-class column="CHILD_ID"/>
</collection-descriptor>
Thanks,
Phil
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>