
异常处理
转角人生
精通java...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versio
前台页面出现如下异常 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use ne原创 2017-04-12 16:01:38 · 862 阅读 · 0 评论 -
配置了事物为什么没有回滚
(1)在方法上加上事物,但是,不会回滚: @Transactional @Synchronized public String vipCancel(Long userId){ try { SuUser ud = suUserMapper.selectByPrimaryKey(userId); }ca...原创 2019-04-01 16:43:13 · 490 阅读 · 0 评论