摘要: 数据库建表account: 1)乐观锁示例操作 (1)新建实体类,加注解 后测试testlock1 使用悲观锁解决问题: (1)实体类的@Version注释掉 阅读全文
posted @ 2019-10-21 22:23 duStar96 阅读(209) 评论(0) 推荐(0)
摘要: 解决方法: 将url改成: jdbc:mysql://localhost:3306/studentmanage?useSSL=true&serverTimezone=Hongkong&characterEncoding=utf-8&autoReconnect=true 解析: jdbc:mysql: 阅读全文
posted @ 2019-10-21 17:01 duStar96 阅读(2927) 评论(0) 推荐(0)