java set实体配置实例
<set name="creditslogSet" inverse="true" lazy="true" where="isValid='1'" >
<key>
<column name="userid" />
</key>
<one-to-many class="com.jjinfo.common.entity.TbCreditslog" />
<key>
<column name="userid" />
</key>
<one-to-many class="com.jjinfo.common.entity.TbCreditslog" />
</set>
private Set<TbMemcard> memCardSet = new HashSet<TbMemcard>(0);