Spring Data ObjectOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

后端 未结 0 1140
眼角桃花
眼角桃花 2021-01-31 07:06

I have the following Spring service method:

@Override
public User deleteState(User user) {
    UserState userState = user.getState();
    if (userState != null) {         


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