- 博客(3)
- 问答 (1)
- 收藏
- 关注
原创 Mybatisplus 的多个功能不生效的原因:未在MybatisSqlSessionFactoryBean中配置
需要MybatisSqlSessionFactoryBean 中重新添加以下内容:插件主体 :MybatisPlusInterceptor影响分页插件等, 需要使用 MybatisSqlSessionFactoryBean.setPlugins(MybatisPlusInterceptor)将其加入。Mybatisplus 配置:MybatisConfiguration影响YML文件内的配置的生效 ,MybatisSqlSessionFactoryBean.setConfiguration.(Myb
2022-02-24 14:54:45 3185
原创 mybaits 报错提示 mybatis-config.xml 找不到 Could not find resource mybatis-config.xml
maven 的配置文件pom.xml里加 <resource> <directory>src/main</directory> <includes> <include>**/*.xml</include> </includes> </re
2022-01-14 15:50:45 460
原创 mybaits plus demo Table “USER“ not found 可能原因及其解决办法
mybaits demo Table "USER" not found 可能原因及其解决办法mybaits demo导致的原因表现特征解决办法探究过程总结原因mybaits demo导致的原因mybaits 的demo使用H2数据库,并且使用脚本在spring 启动时创建 table,插入数据,然后再在测试类里查找数据。这时候测试不通过报错提示 “Table “USER” not found”,可能的原因——创建数据库的脚本没有执行。表现特征测试提示 :Error querying databa
2022-01-12 15:26:48 2732
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人