title: MyBatis not working with Boolean mapping
body: <p>I am just trying  to map a boolean value with Mybatis, but I am having a problem. Firstly, I'll show you the parts involved:</p>
  
  <pre><code>XML File:
  
  &lt;resultMap id="destinationTypeMap" type="DestinationTypeDTO"&gt;
          &lt;result property="destinationTypeId" column="education_destination_type_id" javaType="java.lang.Long" jdbcType="NUMERIC"/&gt;
          &lt;result property="description" column="description" javaType="java.lang.String" jdbcType="VARCHAR"/&gt;
          &lt;result property="available" column="is_available" javaType="boolean" jdbcType="VARCHAR" typeHandler="BooleanHandler"/&gt;
      &lt;/resultMap&gt;
  </code></pre>
  
  <p>Java class:</p>
  
  <pre><code>public class DestinationTypeDTO {
  
      private long destinationTypeId;
      private String description;
      private boolean available;
  
      public long getDestinationTypeId() {
          return destinationTypeId;
      }
  
      public void setDestinationTypeId(long destinationTypeId) {
          this.destinationTypeId = destinationTypeId;
      }
  
      public String getDescription() {
          return description;
      }
  
      public void setDescription(String description) {
          this.description = description;
      }
  
      public boolean isAvailable() {
          return available;
      }
  
      public void setAvailable(boolean available) {
          this.available = available;
      }
  
  }
  </code></pre>
  
  <p>But, I am getting this error log:</p>
  
  <pre><code>org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Could not set property 'isAvailable' of '....DestinationTypeDTO@bbd76bf' with value 'true' Cause: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'isAvailable' in 'class ....DestinationTypeDTO'
  </code></pre>
  
  <p>I spent hours trying to find what's going on but without success. Any hint?</p>
  
  <p>Thanks everyone.</p>