springboot2.0学习笔记(一)

全局捕获异常

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

前缀

springboot2.0学习笔记(一)

加两个注解才能被注入

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

spring-data-jpa

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

报错

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

使用  url: jdbc:mysql://127.0.0.1:3306/demo?serverTimezone=UTC这个就好了

添加get,set,构造函数

springboot2.0学习笔记(一)

接受方cusconsumer

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

事务

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

报错了两条数据仍然写进去了一个,这就不符合正常,应该要同时成功或同时失败才对

解决办法

修改数据库引擎

springboot2.0学习笔记(一)

修改之后失败就不会进去数据了

springboot2.0学习笔记(一)

springboot2.0学习笔记(一)

相关文章:

  • 2022-12-23
  • 2022-03-07
  • 2021-08-15
  • 2021-12-02
  • 2021-12-04
  • 2021-12-05
  • 2021-11-30
  • 2021-12-05
猜你喜欢
  • 2021-12-12
  • 2021-09-23
  • 2021-08-12
  • 2021-12-28
  • 2021-06-26
  • 2022-01-07
相关资源
相似解决方案