Hibernate v3, xdoclet v1.2.3
I would like to use join table for bidirectional one-to-one or one-to-many associations. According to documentation, I would like to produce, one the "one" side, something like :
<join table="PersonAddress"
inverse="true"
optional="true">
<key column="addressId"/>
<many-to-one name="person"
column="personId"
not-null="true"/>
</join>
I cant' find a way to declare a table name if I'm not on a collection (set, bag, list, ...)
I must be missing something, what ?
Thanks.
_________________ mtrain
|