学习Spring JPA时报的Not supported for DML operations 错误

在运行JPA修改数据代码报 Not supported for DML operations 错误 @Query(value = "update User user set user.address = :address where user.id = :id ") void findByUpdateUser(@Param("id") int id,@Param("address") String
相关文章
相关标签/搜索