- 博客(1)
- 收藏
- 关注
原创 spring事务——try{...}catch{...}中事务不回滚的几种处理方式
spring事务——try{…}catch{…}中事务不回滚的几种处理方式 当希望在某个方法中添加事务时,我们常常在方法头上添加@Transactional注解 @ResponseBody @RequestMapping(value = "/payment", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE) @Transactional public Payment paymentJs
2020-11-05 17:11:03 280 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人