![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mysql-Mybatis
dinghuan2011
这个作者很懒,什么都没留下…
展开
-
mysql+mybatis 批量插入与批量更新
首先批量更新需要增加数据库的链接必须加上但是数据库连接必须加上 allowMultiQueries=true 属性,不然会报错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批量导入...原创 2018-03-30 11:21:36 · 2393 阅读 · 1 评论 -
mybatis+mysql中文乱码问题
新增数据库记录时,中文乱码问题解决:在开发工具环境编码格式:数据库表字段编码信息编码格式:都没有问题的情况下,还是出现保存中文乱码问题,则可以试试useUnicode=true&characterEncoding=utf-8 改成 useUnicode=true&amp&characterEncoding=utf-8...转载 2018-04-08 12:02:55 · 6214 阅读 · 0 评论