title: MyBatis! Passing multiple parameter to Mapper DAO
body: <p>I am trying to send multiple parameter to Mapper function defined in DAO implementation but unable to send more than 1 parameter in the case when parameter are not holder of any class.
  I mean how can I modify the following code-</p>
  
  <pre><code>obj.getName(int a, int b);
  </code></pre>
  
  <p>In DAO implementation</p>
  
  <pre><code>public void getAllName() throws PersistenceException {
          SqlSession session = sf.openSession();
          try {
              session.selectList("getNames");         
          } finally {
              session.close();
          }
      }
  </code></pre>
  
  <p>I want to send a and b to query getNames. </p>
  
  <p>Thanks in advance.</p>