title: JdbcTemplate - replace question mark
body: <p>I have a sql query.</p>
  
  <pre><code>String sql = "SELECT ? FROM Users WHERE Lastname=?";
  </code></pre>
  
  <p>I use a method queryForList from JDBCTemplate</p>
  
  <pre><code>Object [] myparams = {"name", "Doe"};
  int [] mytypes = {Types.VARCHAR, Types.VARCHAR};
  List&lt;Map&lt;String,Object&gt;&gt; listOfMaps = jdbc.queryForList(sql, myparams, mytypes);
  </code></pre>
  
  <p>The output is incorrect because there is a problem with the first question mark. I thought the question mark would be replaced by the parameter from myparams array, but it didn't work that way.</p>
  
  <p>Is it possible to do what I want to achieve, but not by manually adding parameter to the string?</p>