开发者

JPA save or merge, how to know updated fields

开发者 https://www.devze.com 2023-04-02 20:58 出处:网络
How can I know what fields/columns are updated after an object is saved by jpa/hibernate. I know there is a interceptor to do this, but cannot find what it is. need 开发者_如何转开发some pointers.Is i

How can I know what fields/columns are updated after an object is saved by jpa/hibernate. I know there is a interceptor to do this, but cannot find what it is. need 开发者_如何转开发some pointers.


Is it the @EntityListener you are looking for? Take a look here

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号