Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据文档,如果尝试锁定并且对象已经被锁定,则事务将不会回滚并引发 LockTimeoutException。
什么情况下使用EntityManager会抛出PessimisticLockException?