Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

乐观锁报错v3.2.0,需要加注解 #3847

Closed
3509282792 opened this issue Jul 2, 2022 · 1 comment
Closed

乐观锁报错v3.2.0,需要加注解 #3847

3509282792 opened this issue Jul 2, 2022 · 1 comment

Comments

@3509282792
Copy link

3509282792 commented Jul 2, 2022

版本号:

v3.2.0

问题描述:

乐观锁字段加了@Version,可是修改就报错了,需要加上
interceptor.addInnerInterceptor(new OptimisticLockerInnerInterceptor());

截图&代码:

image

image
image

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
@3509282792 3509282792 changed the title 乐观锁报错v3.2.0 乐观锁报错v3.2.0,需要加注解 Jul 2, 2022
@zhangdaiscott
Copy link
Member

zhangdaiscott commented Oct 9, 2022

下个版本发布,加入乐观锁支持

乐观锁用法官网文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants