com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in
2016-03-10 16:05
204 查看
异常:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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
mybatis mysql 批量修改
<foreach collection="list" item="item" index="index" open="" close="" separator=";">
</foreach>
开发,测试环境都没问题,生产环境不行。
原来是mycat的版本不一致
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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
mybatis mysql 批量修改
<foreach collection="list" item="item" index="index" open="" close="" separator=";">
</foreach>
开发,测试环境都没问题,生产环境不行。
原来是mycat的版本不一致
相关文章推荐
- 阿里巴巴开源项目: 基于mysql数据库binlog的增量订阅&amp;消费
- mysql 5.7.11安装笔记
- mysql group by 用法解析(详细)
- Mysql查找如何判断字段是否包含某个字符串
- mysqlcppconn之ConnectOptionsMap的使用
- mysql中limit用法误区
- mySql索引
- mySql常用命令(更新中......)
- mysql参数,蛮全的
- Mysql快速插入千万条测试数据
- MySQL常见错误
- MySQL索引下推技术
- MySQL参数
- MyCAT实现MySQL的读写分离
- MySQL的分页优化
- 利用Shell脚本将MySQL表中的数据转化为json格式
- 恢复MySQL主从数据一致性的总结
- 基于表的数据字典构造MySQL建表语句
- MySQL存储过程及触发器
- MySQL分区总结