nested exception is java.sql.SQLException: Invalid parameter index 1
<p>I get following Error, but I can not understand why:</p>

<blockquote>
  <p>org.springframework.jdbc.BadSqlGrammarException:
  PreparedStatementCallback; bad SQL grammar [UPDATE da_tracking SET
  ins_name= xyz, ins_dev_scripted = False WHERE ins_ID = 12]; nested
  exception is java.sql.SQLException: Invalid parameter index 1.</p>
</blockquote>

<pre><code>------------------------ dao class-----
public int save(DboBean record) {
        // TODO Auto-generated method stub
        String sql = "UPDATE da_tracking"
                    + " SET ins_name= " + record.getDboDevName()+ "," 
                    + " ins_dev_scripted = " + record.getDevScripted()
                    + " WHERE ins_ID = " + record.getDboId();
        Object[] params = new Object[] {record.getDboDevName(), record.getDevScripted()};
        int[] types = new int[]{Types.VARCHAR, Types.BIT};
        return jdbcTemplate.update(sql, params, types);
    }
----------------------------Junit-----
bean.setDboDevName("xyz");
bean.setDboId(12);
int rowsAffected =  objDao.save(bean);

    System.out.println("Object is updated [" + bean.getDboId() + ", " + bean.getDboDevName() + 
            ", " + bean.getDevScripted() + "]");
</code></pre>

<p>Do you know why?? 
My delete &amp; read Methods work. Thx in advance.</p>
