当涉及到多条sql语句查询的时候,需要在jdbc.url参数后面加&allowMultiQueries=true,默认的只能查询一条sql语句,所以可能会报这样的错误是:
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 ';
当涉及到多条sql语句查询的时候,需要在jdbc.url参数后面加&allowMultiQueries=true,默认的只能查询一条sql语句,所以可能会报这样的错误是:
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 ';