我试图在spring存储库类中执行这个查询,但是console显示了错误‘column id not found’,邮递员还显示了:"error": "Internal; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query",@Query]
at com.mysql.jdbc.SQLError.createS
我的数据库表有'id','name','size',‘image_id’,'image_path‘。我上传的图片和保存到数据库和一个选定的类别所有工作正常,我有一个页面,我可以删除从数据库,这是正确的。我的products.php文件在下面,如果有人能帮忙的话,我需要帮助。if (mysqli_connect_errno())echo "Failed to connect to MySQL: " . my