sql injection violation,comment not allow,mybatis,mysql,奇妙なエラー.sql文は実行できるがmybatis操作でエラーを報告する.
//
loadPropertyFile("classes/config/mysql.properties");
DruidPlugin dp = new DruidPlugin(getProperty("jdbcUrl"),getProperty("user"),getProperty("password"));
//WallFilter wall = new WallFilter();
//wall.setDbType(getProperty("dbType"));
//dp.addFilter(wall);
最も簡単で乱暴な方法は、配置されたwallを取り除くことです.問題が解決した!