title: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback;
body: <p>I'm using Jdbc template to insert a record into database. Below is the sql statement that results in an error.</p>
  
  <pre><code>INSERT INTO table_name(PDDID, APPLICATION_CODE, STATUS,CREATED_TS) VALUES ( ?,?,?,SYSTIMESTAMP)
  </code></pre>
  
  <p>Detail message is:</p>
  
  <pre><code>PreparedStatementCallback; bad SQL grammar [
  
                      INSERT INTO table_name(PDDID, APPLICATION_CODE, STATUS,CREATED_TS) VALUES ( ?,?,?,SYSTIMESTAMP)
  
          ]
  </code></pre>
  
  <blockquote>
    <p>org.springframework.jdbc.BadSqlGrammarException:
    PreparedStatementCallback;   bad SQL grammar [ INSERT INTO table_name
    (PDDID, APPLICATION_CODE, STATUS,CREATED_TS) VALUES (
    ?,?,?,SYSTIMESTAMP)]; nested exception is
    java.sql.SQLSyntaxErrorException: ORA-00904: "PDDID": invalid
    identifier</p>
  </blockquote>