title: Mybatis 3.2.5 resultmap collection returns only row
body: <p>i'm trying to fetch results for an object, which contains a list in it using mybatis (3.2.5) , spring (3.0.6) enabled ehcache (2.6.5) mybatis-ehcahe (1.0.2)</p>
  
  <p>but it always returns list with 1 row where table contains couple of rows</p>
  
  <p>observed in mybatis debug logging its printing number of rows correctly but actual result not</p>
  
  <p>DEBUG [xxxxxx] selectGroup (BaseJdbcLogger.java:132) - ==>  Preparing:select group_id, member_id, name, status from  group_members where group_id = ?
  DEBUG [xxxxxx] selectGroup (BaseJdbcLogger.java:132) - ==> Parameters: 21600(Long)
  DEBUG [xxxxxx] selectGroup (BaseJdbcLogger.java:132) - &lt;==      Total: 2</p>
  
  <p>can any one please spot where i'm going wrong.</p>
  
  <p>Thanks in advance!!</p>
  
  <p>here is my config</p>
  
  <pre><code>&lt;select id="selectGroup" resultMap="group"&gt;
       select group_id, 
              member_id,
          name,
                  status
      from  group_members
      where group_id = #{param1}
  &lt;/select&gt;
  
  &lt;resultMap id="group" type="Group" &gt;
          &lt;id property="id" column="group_id"/&gt;
          &lt;collection property="members" javaType="java.util.ArrayList"    ofType="Member" &gt;
              &lt;id property="id" column="member_id" /&gt;
              &lt;result property="name" column="name" /&gt;
              &lt;result property="status" column="status" typeHandler="org.apache.ibatis.type.EnumTypeHandler" /&gt;
          &lt;/collection&gt;
  &lt;/resultMap&gt;
  </code></pre>