![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
mybatis
jay编程
这个作者很懒,什么都没留下…
展开
-
check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ord
标题:check the manual that corresponds to your MySQL server version for the right syntax to use near ‘order’ at line 1check the manual that corresponds to your MySQL server version for the right syntax to use near ‘order’ at line 1之前数据库中的表是order,改成其他的名字eg:原创 2022-04-16 13:45:18 · 880 阅读 · 0 评论 -
使用mybatis-plus进行插入Field ‘rid‘ doesn‘t have a default value
标题:使用mybatis-plus进行插入Field ‘rid’ doesn’t have a default value若有@tableId(“rid”),则需要insert时候 ,rid就会当作自增,所以,你在数据库中没有设置自增,就会出现如下错误,==> Preparing: INSERT INTO tab_favorite ( date, uid ) VALUES ( ?, ? )==> Parameters: 2022-04-06(String), 1(Integer)Clo原创 2022-04-07 09:45:39 · 878 阅读 · 0 评论 -
mybatis-plus 分页插件不生效,分页查询失效解决办法 ;使用mybatis-plus时候,routeDao.selectPage方法失效
标题:mybatis-plus 分页插件不生效,分页查询失效解决办法 ;使用mybatis-plus时候,routeDao.selectPage方法失效将分页拦截器注入到spring中。package com.itheima.config;import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;import com.baomidou.mybatisplus.extension.plugins.inner.P原创 2022-04-05 21:19:38 · 1869 阅读 · 0 评论