title: Delete query in MyBatis is not deleting anything
body: <p>I am relatively new in MyBatis. 
  The select queries are working fine. But the delete queries and not working.</p>
  
  <p>Mapper.xml</p>
  
  <pre><code>&lt;delete id="deleteEntry" parameterType="java.util.HashMap"  &gt;
          delete from table where  user_id = #{userId} and application_id = #{appId}
  &lt;/delete&gt;
  </code></pre>
  
  <p>Mapper.java</p>
  
  <pre><code>
  public interface Mapper {
      public Integer deleteEntry(@Param("userId") long userId, @Param("appId") long appId);
  }
  
  </code></pre>
  
  <p>The DAO where I am calling the function looks like this. </p>
  
  <pre><code>        SqlSession sqlSession = MyBatisUtil.getSqlSessionFactory().openSession();
          try{
              LOG.info("Records Deleted: "+sqlSession.getMapper(Mapper.class).deleteEntry(userId,appId));
          }
          finally {
              sqlSession.close();
          }
  </code></pre>
  
  <p>Now the result is 
  Records Deleted: 1</p>
  
  <p>However when i check the database, the row hasn't been deleted.
  I am using Sql Server.</p>
  
  <p>Thank you for the help in advance. :)</p>