考虑以下关联:
<class name="Person">
<id name="id" column="personId">
<generator class="native"/>
</id>
<set name="addresses" table="PersonAddress" lazy="false">
<key column="personId"/>
<many-to-many column="addressId" class="Address"/>
</set>
</class>
<class name="Address">
<id name="id" column="addressId">
<generator class="native"/>
</id>
</class>
现在如果我想指定fetch = join|select|subselect
属性,我在哪里指定呢?<set>
元素还是<many-to-many>
元素?
另外,生成的查询会有什么不同吗?