title: Fetch Map<String,CustomData> from IBatis
body: <p>I am creating an ibatis quesry that its result should be :</p>
  
  <pre><code>Map&lt;String,CustomData&gt;
  </code></pre>
  
  <p>My ibatis query:</p>
  
  <pre><code>&lt;resultMap id="dataMap" class="java.util.HashMap"&gt;
      &lt;result property="key" column="UUID"/&gt;
      &lt;result property="value" resultMap ="customData"/&gt;
  &lt;/resultMap&gt;
  
  &lt;resultMap id="customData" class="com.model.CustomData"&gt;
      &lt;result property="x" column="X_COL"/&gt;
  
  &lt;/resultMap&gt;
  
  &lt;select id="fetchData"
          resultClass="java.util.HashMap"
          parameterClass="java.util.Map"&gt;
     SELECT
      UUID AS UUID,
      (CASE
      WHEN SOME_DATA IS NOT NULL THEN  'TRUE'         
      END) AS X_COL
      FROM TABLE
   &lt;/select&gt;
  </code></pre>
  
  <p>CustomData is a java class:</p>
  
  <pre><code>public class CustomData{
   private String x;
  
  //Getters &amp; Setters
  
  }
  </code></pre>
  
  <p>I expect to get the following on the Java:</p>
  
  <pre><code>Map&lt;String,CustomData&gt;
  </code></pre>
  
  <p>However I get the following:</p>
  
  <pre><code>Map&lt;String,String&gt;
  </code></pre>
  
  <p>Any ideas !</p>