Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: XML
Posted by: JUNE CHERN
Added: Dec 15, 2019 4:19 PM
Views: 5
Tags: no tags
  1.         <resultMap type="User" id="userRoleResult">
  2.                 <id property="id" column="id"/>
  3.                 <result property="userCode" column="userCode" />
  4.                 <result property="userName" column="userName" />
  5.                 <result property="userRole" column="userRole" />
  6.                 <association property="role" javaType="Role" resultMap="roleResult"/>
  7.         </resultMap>