<collection property="roles" javaType="java.util.List" resultMap="RoleResult" />
时间: 2023-12-05 09:09:44 浏览: 127
PyPI 官网下载 | roles-0.3.0.tar.gz
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.
阅读全文