乐观锁与悲观锁

  1. 悲观锁由数据库来实现;
  2. 乐观锁hibernate用version和timestamp实现;




原文地址:https://www.cnblogs.com/zmpandzmp/p/3648762.html