msyql乐观锁和悲观锁

it2023-02-28  84

分享一个链接:https://www.cnblogs.com/panxuejun/p/8621702.html

总结:乐观锁就是给数据加version字段,悲观锁就是加sycnized。

最新回复(0)