回答編集履歴

2

RowMapper削除したものを追加

2019/06/06 01:21

投稿

momon-ga
momon-ga

スコア4820

test CHANGED
@@ -19,3 +19,13 @@
19
19
 
20
20
 
21
21
  単純に更新値だけ渡せばよいのではないでしょうか。
22
+
23
+
24
+
25
+ ```java
26
+
27
+ return jdbcTemplate.update("update unit02.addressbook set name = ? , tel = ?, address = ? where id = ? ",
28
+
29
+ new Object[]{ name , phone , address, id });
30
+
31
+ ```

1

リンクの追加と末尾が消えたので改行追加

2019/06/06 01:21

投稿

momon-ga
momon-ga

スコア4820

test CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
 
12
12
 
13
+ https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/core/JdbcTemplate.html
14
+
15
+
16
+
13
17
  updateの引数で、RowMapperを使うのでしょうか?
14
18
 
15
19