Spring Data Jpa: How to do pessimistic locking for several methods?

前端 未结 0 1235
一个人的身影
一个人的身影 2021-02-13 12:23

In docs I see that I can use @Lock(LockModeType.PESSIMISTIC_WRITE) for method in repository, but how to use it for several methods?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题