Hi all,
I'm using xdoclet to create my map files. I have created many-to-many and one-to-many relationships with sucess. But when I try to use xdoclet to create idbag's, I found problems.
The question is:
Xdoclet supports idbag's?
If yes, how I can generate the map below:
Code:
<idbag name="lovers" table="LOVERS" lazy="true">
<collection-id column="ID" type="long">
<generator class="hilo"/>
</collection-id>
<key column="PERSON1"/>
<many-to-many column="PERSON2" class="eg.Person" outer-join="true"/>
</idbag>
Note:This map is found in section 6.13 of Hibernate documentation.
Thanks for all.