title: Mybatis custom mapping
body: <p>I have defined a Java bean like this:</p>
  
  <pre><code>public class Person{
      private int id;
      private String name;
      private Map&lt;String, Object&gt; properties;
      // getters and setters ...
  }
  </code></pre>
  
  <p>give a following query:</p>
  
  <pre><code>select id, name, age, address from users;
  </code></pre>
  
  <p>I want to map "id" and "name" column to the Person class's "id" and "name" property, but map "age" and "address" column into the "properties" map as key-value pair.</p>
  
  <p>Is this possible with mybatis? I am using the newest version of mybatis.</p>