title: jdbctemplate count queryForInt and pass multiple parameters
body: <p>How can I pass multiple parameters in <code>jdbcTemplate</code> <code>queryForInt</code> to get the count. I have tried this,</p>
  
  <pre><code>Integer count = this.jdbcTemplate
      .queryForInt("select count(name) from table_name where parameter1 = ? and parameter2 = ?", new Object[]{parameter1,parameter2});
  </code></pre>
  
  <p>But its showing <code>queryForInt</code> as strikes.  </p>