2020
12-02
12-02
解决mybatis 中collection嵌套collection引发的bug
我就废话不多说了,大家还是直接看代码吧~<resultMapid="ParentMap"type="org.example.mybatis.Parent"><idcolumn="Id"jdbcType="VARCHAR"property="id"/><resultcolumn="Name"jdbcType="VARCHAR"property="name"/><resultcolumn="SurName"jdbcType="VARCHAR"property="surName"/><collectionproperty="children"javaType="ArrayList"ofType="org.example.mybatis.Child"resultMap="ChildMap"co...
继续阅读 >