mybatis问题
aimosy
这个作者很懒,什么都没留下…
展开
-
java.sql.SQLException: Unknown system variable 'query_cache_size'
数据库驱动版本问题 解决方法: mysql-connector-java-5.1.39.jar换成mysql-connector-java-8.0.11.jar原创 2018-08-04 16:25:09 · 1158 阅读 · 0 评论 -
java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more
generatorConfig.xml文件<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://localhost/bxy_demo" userId="root" password=&quot原创 2018-08-04 16:33:51 · 413 阅读 · 0 评论 -
mybaits批量插入1000条报错
在数据库能支持1000条批量插入,但在mybatis中就不支持了,提示支持最多2100参数,不知道这参数是怎么算的,目前测试320条是可以的,不知会不会因为不同表的插入而有所不同。 备注:用这种方式批量导入时要测试一次性能导入几条。...原创 2018-08-18 16:26:50 · 1663 阅读 · 0 评论 -
15:50:05 烨 2018/8/18 15:50:05 Parameter 'id' not found. Available parameters are [list]
报错: nested exception is org.apache.ibatis.executor.ExecutorException: Error getting generated key or setting result to parameter object. Cause: org.apache.ibatis.binding.BindingException: Paramete...原创 2018-08-18 16:31:05 · 284 阅读 · 0 评论 -
spring配置数据库报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.demo.dao.EntityMapper.selectByExample at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMeth...原创 2018-09-20 17:03:06 · 136 阅读 · 0 评论