在实体中添加类级别注解@DynamicUpdate(value=true)即可更新仅变化了的字段
jpa_update单个字段
猜你喜欢
转载自wangxr66.iteye.com/blog/1829471
今日推荐
周排行