@Query(value = "update moore_core.open_platform_recruit_position set is_top=0 where is_top=1",nativeQuery = true)
@Modifying
@Transactional
void cancelTop();
@Query(value = "update moore_core.open_platform_recruit_position set is_top=0 where is_top=1",nativeQuery = true)
@Modifying
@Transactional
void cancelTop();
本文标题:JPA修改:必须添加 @Modifying @Transacti
本文链接:https://www.haomeiwen.com/subject/ooyluhtx.html
网友评论