摘要:
错误信息: ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the m 阅读全文
posted @ 2021-01-31 16:31
金玉良猿
阅读(903)
评论(0)
推荐(0)
摘要:
问题描述: 若测试代码成功运行,但sql的表中并没有新添加的数据。 原因: 在获取SQLSession对象时,可能选择了手动添加(代码如下,表面上看没有区别) SqlSession openSession = sqlSessionFactory.openSession(); 解决办法: 在添加数据后 阅读全文
posted @ 2021-01-31 16:01
金玉良猿
阅读(150)
评论(0)
推荐(0)
摘要:
MySql循环插入出错 错误原因: Cause: org.apache.ibatis.binding.BindingException: Parameter 'ids' not found. Available parameters are [arg0, collection, list] 代码如下 阅读全文
posted @ 2021-01-31 15:11
金玉良猿
阅读(1495)
评论(0)
推荐(1)

浙公网安备 33010602011771号