springboot jpa DynamicUpdate
老师,hibernate 的 DynamicUpdate注解怎么在springboot JPA中使用呢? SuserRepository: public interface SuserRepository extends JpaRepository<Suser,Long>{ } SuserService: public Suser save(Suser suser){ return suserRepository.save(suser); } 可是并不能实现hibernate中的效果 Suser: @Entity @SelectBeforeUpdate(true) @DynamicUpdate(true) public class Suser implements Serializable { …… }