table doesn't exist或者Unknown column '****' in 'where clause'问题
可以将语句中错误部分与数据库中名称改为完全一致,如
@Query(value = "UPDATE operate_book SET rent_time = rent_time + 30 WHERE book_id = ? AND userid = ?",nativeQuery = true);
SQL错误
阅读 218
2022-02-14
table doesn't exist或者Unknown column '****' in 'where clause'问题
可以将语句中错误部分与数据库中名称改为完全一致,如
@Query(value = "UPDATE operate_book SET rent_time = rent_time + 30 WHERE book_id = ? AND userid = ?",nativeQuery = true);
相关推荐
精彩评论(0)