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

建议:增加变更追踪能力,实现差异更新 #335

Open
panoshu opened this issue May 11, 2024 · 0 comments
Open

建议:增加变更追踪能力,实现差异更新 #335

panoshu opened this issue May 11, 2024 · 0 comments

Comments

@panoshu
Copy link

panoshu commented May 11, 2024

建议理由

增加变更追踪能力,记录对象进行业务操作后发生的改变。可以实现两个目的:

  • 通过这些改变来决定如何更新数据库,而不是所有情况都无脑的对对象进行全字段更新
  • 便于在某些特殊业务场景下,实现变更和操作详情的审计记录(这一点可以提供接口,具体由用户来实现)

谁在这么做

easy-query
spring-data-jpa

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

1 participant