Skip to content

Commit 1d4745d

Browse files
authored
Update springboot-jpa.md
1 parent c4f6363 commit 1d4745d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/basis/springboot-jpa.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ Person 部分属性查询,避免 `select *`操作:
232232
```java
233233

234234
@Modifying
235-
@Transactional
236235
@Query("update Person p set p.name = ?1 where p.id = ?2")
237236
void updatePersonNameById(String name, Long id);
238237
```

0 commit comments

Comments
 (0)