title: MyBatis not retrieving certain fields
body: <p>So I have a pretty complex java object that I'm mapping to my DB using MyBatis. I want to be able to retrieve the entire object, with all children, grandchildren, etc simultaneously, so I made a result map for it. It's something like</p>
  
  <pre><code>  &lt;resultMap id="BaseResultMap" type="Parent"&gt;
      &lt;id column="PARENT_PK" jdbcType="VARCHAR" property="pk" /&gt;
      &lt;association property="address" javaType="address"&gt;
          &lt;id column="address_PK" jdbcType="VARCHAR" property="pk" /&gt;
      &lt;/association&gt;
      &lt;collection property="Children" javaType="java.util.ArrayList" ofType="Child"&gt;
          &lt;id column="CHILD_PK" property="Pk" jdbcType="VARCHAR" /&gt;
          &lt;result column="SCHEMA.CHILDREN.DESCRIPTION" property="description" jdbcType="VARCHAR" /&gt;
          &lt;collection property="Children" javaType="java.util.ArrayList" ofType="Grandchildren"&gt;
              &lt;id column="Grand_child_pk" jdbcType="VARCHAR" property="pk" /&gt;
              &lt;result column="SCHEMA.GRAND_CHILDREN.DESCRIPTION" property="description" jdbcType="VARCHAR" /&gt;
              &lt;collection property="children" javaType="java.util.ArrayList" ofType="GreatGrandChildren"&gt;
                  &lt;result column="NAME" property="name" jdbcType="VARCHAR"/&gt; 
              &lt;/collection&gt;
          &lt;/collection&gt;
      &lt;/collection
  </code></pre>
  
  <p>and my SQL for it is something like</p>
  
  <p>SELECT 
  PARENT_PK,
  ADDRESS_PK,
  CHILD_PK,
  SCHEMA.CHILDREN.DESCRIPTION,
  GRAND_CHILD_PK,
  SCHEMA.GRAND_CHILDREN.DESCRIPTION,
  NAME
  FROM 
  ...</p>
  
  <p>Most of the fields are populating correctly, and I'm getting the right number of children at each level. However, neither of the description fields are populating- I'm getting nulls. Everything else works fine. If I use Mybatis to retrieve just the child or grandchild without trying to load the relationships, then the description fields work fine. It's only when I attempt to get everything at once. </p>
  
  <p>If I run the query manually, it retrieves the description columns no problem, so I don't think it's a problem with my sql code. </p>
  
  <p>Any ideas as to what is going on? </p>