title: return a boolean - jdbcTemplate
body: <p>I would like to return a boolean value using in this method:</p>
  
  <pre><code>public Boolean isSizeOk(String transactionId){ 
      String sqlQuery = "SELECT true FROM customer_pool WHERE id = "+ transactionID + " AND level = 13)";
  
  //The next line is the problem. 
      //If I am returning a Boolean List, I can write
  
      List &lt;Boolean&gt; sizeResult = jdbcTemplate.queryForList(sqlQuery, Boolean.class, transactionId);
  
      //But since I only want a boolean value, what will the statement be?
       Boolean sizeResult = jdbcTemplate......?
  
      return sizeResult;
  }
  </code></pre>
  
  <p>Kindly help.  Thanks.</p>