Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-10625

SQL syntax error in jdbcTemplate update example

    Details

    • Type: Task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Complete
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.2.4, 4.0 M2
    • Component/s: [Documentation]
    • Labels:
      None

      Description

      this.jdbcTemplate.update(
              "update t_actor set = ? where id = ?",
              "Banjo", 5276L);
      

      missing column name in "set" clause

        Attachments

          Activity

            People

            • Assignee:
              pwebb Phil Webb
              Reporter:
              jhgnwea Jim Garrison
              Last updater:
              Spring Issuemaster
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                27 weeks ago