title: Bigdecimal and SQL Server Numeric issue
body: <p>I have a java app, which stores a bigdecimal in a <code>numeric(11,6)</code> column. However when I try to store for example <code>20.89</code>, it is storing as <code>20</code> in the database. All the decimal values are truncated. </p>
  
  <p>Java POJO</p>
  
  <pre class="lang-java prettyprint-override"><code>public class Store {
      private BigDecimal storeamt;
      ...
      ...
  }
  
  DAO {
      private int insertStores(
          List&lt;Store&gt; stores,
          SqlSession session) {
  
          ....its an ibatis mapper, which will insert the object
  
          int result = mapper.insertStores(stores, user);
      }
  }
  </code></pre>
  
  <p>All the values are inserted fine, except for bigdecimal which is truncating all decimal values. Bigdecimal is mapped to <code>numeric(11,6)</code>.</p>