Browse Source

Fix SQL syntax error in jdbcTemplate update docs

Update the reference guide jdbcTemplate update example to include the
column name.

Issue: SPR-10625
pull/307/head
Phillip Webb 12 years ago
parent
commit
5ee6bb9b9b
  1. 2
      src/reference/docbook/jdbc.xml

2
src/reference/docbook/jdbc.xml

@ -383,7 +383,7 @@ private static final class ActorMapper implements RowMapper<Actor> { @@ -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(

Loading…
Cancel
Save