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

Sql statement carefully review the error log:

### SQL: update smbms_bill          set billCode=?,             productName=?,             productDesc=?, where id=?

Yes, in where id =? More before a comma, correct posture, to delete the last comma interface configuration file if a label.

(I have to say log4j print log information is really easy to use!)

Guess you like

Origin www.cnblogs.com/xbfchder/p/11247727.html