title: JdbcTemplate update error when using with parameters
body: <p>I'm coding in SpringMVC database application. When I try to insert data to database with JdbcTemplate object update method with parameter and I go error while inserting data. It was fine with out parameter coding as following:</p>
  
  <pre><code>String sql = "INSERT INTO contact (name, email, address, telephone)"
                  + " VALUES ('" + contact.getName() + "', '" + contact.getEmail() + "', '" 
                  + contact.getAddress() + "', '" + contact.getTelephone() + "')";
  jdbcTemplate.update(sql);
  </code></pre>
  
  <p>But when I use with parameters, it got error:</p>
  
  <pre><code>String sql = "INSERT INTO contact (name, email, address, telephone)"
                      + " VALUES (?, ?, ?, ?)";
  jdbcTemplate.update(sql, contact.getName(), contact.getEmail(),
                  contact.getAddress(), contact.getTelephone());
  </code></pre>
  
  <p>Please help me!</p>