Room类里面有个players的set集合,映射文件配置如下
<set name="players" fetch="select" inverse="true" lazy="false" cascade="all">
<key>
<column name="ID"></column>
</key>
<one-to-many class="cn.emoney.dto.game.Player"/>
</set>
为毛查询不到
<set name="players" fetch="select" inverse="true" lazy="false" cascade="all">
<key>
<column name="ID"></column>
</key>
<one-to-many class="cn.emoney.dto.game.Player"/>
</set>
为毛查询不到