title: Trying to read mutiple cursor values in MyBatis and setting these values in DTO but getting error
body: <p>I am trying to read multiple cursor values in MyBatis and setting these values in DTO but getting an error. My SP returns 3 cursors and each cursor value I am trying to map with one DTO. Code follows</p>
  
  <p><strong>AccountDSSpMapper.xml</strong></p>
  
  <pre><code> &lt;resultMap type="com.Role_Test" id="Role"&gt;
              &lt;result property="roleID" column="Role_ID" /&gt;
              &lt;result property="accountID" column="Account_ID" /&gt;
              &lt;result property="roleName" column="Role_Name" /&gt;
              &lt;result property="roleDesc" column="Description" /&gt;
   &lt;/resultMap&gt;
   &lt;resultMap type="com.Feature_Test" id="Feature"&gt;
              &lt;result property="featureID" column="Feature_ID" /&gt;
              &lt;result property="featureName" column="Feature_Name" /&gt;
   &lt;/resultMap&gt;
    &lt;resultMap type="com.Privilege_Test" id="Privilege"&gt;
              &lt;result property="privilegeID" column="Privilege_ID" /&gt;
              &lt;result property="privilegeName" column="Privilege_Name" /&gt;
   &lt;/resultMap&gt;
  
   &lt;select id="roleResults" resultMap="Role,Feature,Privilege" statementType="CALLABLE"&gt;
              { call Get_RoleDetails(#{accountID, mode=IN, jdbcType=INTEGER}, #{roleID, mode=IN,     jdbcType=INTEGER})}
   &lt;/select&gt;
  </code></pre>
  
  <p><strong>AccountDSSpMapper.java</strong></p>
  
  <pre><code> @MapKey("roleResults")
   public List&lt;List&lt;ArrayList&lt;Object&gt;&gt;&gt; getRoleDetails(Integer accountID, Integer roleID);
  </code></pre>
  
  <blockquote>
    <p>Exception - java.lang.IllegalArgumentException: Mapped Statements
    collection does not contain value for
    com.AccountDSSpMapper.getRoleDetails</p>
  </blockquote>
  
  <p>Can someone please suggest what's wrong here or correct way to deal with multiple cursor values in MyBatis.</p>