學習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
相關文章
相關標籤/搜索