数据库
首页 > 数据库> > MySQL常见错误及排查(持续更新中)

MySQL常见错误及排查(持续更新中)

作者:互联网

错误一:

        java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 20' at line 3

原因:

         resultMap里的department_id的参数类型应该为integer,而不是varchar

标签:right,错误,corresponds,更新,syntax,排查,MySQL,your
来源: https://blog.csdn.net/qq_42000661/article/details/110824377