会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
保护动物
博客园
首页
新随笔
联系
管理
订阅
2019年6月20日
并发场景下,数据重复保存问题
摘要: 解决方法:1.数据库层面添加唯一索引。 2.请求端的按钮禁用。(并不可靠) 3.代码层面通过 synchronized 处理
阅读全文
posted @ 2019-06-20 09:07 保护动物
阅读(594)
评论(1)
推荐(0)
编辑
公告