提交 5ee6bb9b 编写于 作者: P Phillip Webb

Fix SQL syntax error in jdbcTemplate update docs

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

Issue: SPR-10625
上级 2abec6fd
......@@ -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(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册