jpa_update单个字段

在实体中添加类级别注解@DynamicUpdate(value=true)即可更新仅变化了的字段

猜你喜欢

转载自wangxr66.iteye.com/blog/1829471