<collection property="roles" javaType="java.util.List" resultMap="RoleResult" />
时间: 2023-12-05 19:09:44 浏览: 125
RoleList.js
This XML code snippet defines a collection property named "roles" of type java.util.List using the resultMap "RoleResult". This is typically used in MyBatis mapping files to map the result of a SQL query to a Java object. The "roles" property would be a list of objects of type "Role", which would be defined in the "RoleResult" resultMap.
阅读全文