Skip to content

Commit

Permalink
Fix SQL syntax error in jdbcTemplate update docs
Browse files Browse the repository at this point in the history
Update the reference guide jdbcTemplate update example to include the
column name.

Issue: SPR-10625
  • Loading branch information
philwebb committed Jun 26, 2013
1 parent 2abec6f commit 5ee6bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reference/docbook/jdbc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ private static final class ActorMapper implements RowMapper<Actor> {
"Leonor", "Watling");</programlisting>

<programlisting language="java">this.jdbcTemplate.update(
"update t_actor set = ? where id = ?",
"update t_actor set last_name = ? where id = ?",
"Banjo", 5276L);</programlisting>

<programlisting language="java">this.jdbcTemplate.update(
Expand Down

0 comments on commit 5ee6bb9

Please sign in to comment.