当前位置:Gxlcms > 数据库问题 > mybatis的报错____3Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right

mybatis的报错____3Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right

时间:2021-07-01 10:21:17 帮助过:80人阅读

smbms_bill set billCode=?, productName=?, productDesc=?, where id=?

没错,在where id = ?之前多了一个 逗号,正确姿势,去删掉接口配置文件中 最后一个if标签的逗号。

(不得不说 log4j日志打印信息真是好用!)

mybatis的报错____3Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right

标签:where   查看   信息   bms   div   语句   log4j   exception   version   

人气教程排行