Linux大棚 – 不忘初心的技术博客,浮躁时代的安静角落
  •  首页
  •  技术日记
  •  编程
  •  旅游
  •  数码
  •  登录
  1. 标签
  2. Mybatis
  • 尚硅谷MyBatis 基础笔记

    MyBatis 笔记 文章目录MyBatis 笔记【1】配置文件【2】JDK Logging【3】Log4j【4】Log4j2【5】SLF4j【6】整合日志【7】SQL参数【8】${}#{} 区别【9】MyBatis中DML操作【10
    硅谷 基础 笔记 Mybatis
    admin 3月前
    47 0
  • SpringMVC-Spring-Mybatis

    SSM框架 1.1框架介绍 Jdbc是一个操作数据库的框架 Vue框架,也可以叫平台,提供了联网,ui,后台管理,权限等。 框架提供了很多类给我们用&
    SpringMVC Spring Mybatis
    admin 4月前
    64 0
  • 社招高频题:MyBatis怎么优雅搞定批量操作?

    哈喽大家好,我是你们熟悉的31岁技术博主小米,一个爱写bug也爱修bug的程序员。最近啊,我们团队在准备招一个资深Java后端的时候,我和同事们一起参与
    批量 优雅 操作 Mybatis
    admin 6月前
    82 0
  • mybatis-plus 报错 Unsatisfied dependency expressed through field ‘XXXMapper‘;

    报错如下:Unsatisfied dependency expressed through field XXXMapper; nested exception is org.springframework.beans
    报错 Unsatisfied Mybatis dependency xxxmapper
    admin 7月前
    108 0
  • SpringBoot+Mybatis中Service单元测试时报错 Unsatisfied dependency expressed through field ‘XXXService‘;

    项目场景:在编写SpringBootMybatis项目时,进行Service单元测试时的报错问题描述主要问题:Unsatisfied dependency express
    时报 单元测试 Mybatis Service SpringBoot
    admin 7月前
    127 0
  • 使用Mybatis报错Unsatisfied dependency expressed through field ‘xxxMapper‘解决方案

    使用Mybatis报错Error creating bean with name com.yg.mybatisgenerator.springbootTest.GeneratorTest: Unsatisfied dependency ex
    报错 解决方案 Unsatisfied Mybatis dependency
    admin 7月前
    129 0
  • 关于MyBatis-plus踩的一个坑 Unsatisfied dependency expressed through field ‘baseMapper‘: No qualifying bean

    这是一个新建项目的目录结构在这里添加了一个userService的注入以后,就启动不了了根据报错信息来看,是没找到Mapper但是我检查了Mapper注解以及Application方法上添加了扫描
    dependency expressed Mybatis Unsatisfied qualifying
    admin 7月前
    117 0
  • mybatis报错Unsatisfied dependency expressed through field ‘baseMapper‘解决方案

    mybatis报错Unsatisfied dependency expressed through field baseMapper解决方案 问题背景解决方案一解决方案二Lyric: 管他管他什么曲风问题背景 在启动
    报错 解决方案 Unsatisfied Mybatis dependency
    admin 7月前
    92 0
  • Spring+MVC+MyBatis的登录页面

    SpringMVCMyBatis的登录页面 -------源代码在 github 上 一、搭建SpringMVC框架的web项目 地址:https:blog.csdnqq_56180999article
    页面 Spring MVC Mybatis
    admin 7月前
    102 0
  • 解决MyBatis查询MySql的int类型字段默认返回0

    今天在MySql中创建了一张数据表ctmp,其中一个字段 c_id 类型为 bigint(20)。通过mybatis插件生成代码:#### 实体Entitypublic class Ctmp{...private l
    字段 类型 Mybatis MySQL int
    admin 7月前
    80 0
  • mybatis-plus字段策略注解strategy

    最近项目中遇到一个问题,是关于mybatis-plus的字段注解策略,记录一下。
    注解 字段 策略 Mybatis Strategy
    admin 7月前
    69 0
  • 解决mybatis-plus修改对象属性为null失效,以及updateStrategy = FieldStrategy.IGNORED的坑

    首先场景是数据持久层使用的mybatis-plus,只需要修改对象的几个字段且字段都需要进行判断是否需要赋值为null,然后进行修改使用的是updateById(),结果发现
    属性 对象 Mybatis FieldStrategy updateStrategy
    admin 7月前
    87 0
  • myBatis是怎么使用 @GeneratedValue(generator = “...“, strategy = ...) 注解

    一. GeneratedValue注解id生成策略 使用范围:方法和属性 Target({METHOD, FIELD})Retention(RUNTIME)public interface GeneratedVa
    是怎么 注解 Mybatis GeneratedValue Strategy
    admin 7月前
    85 0
  • mybatis plus 中 使用 updateById更新字段为null 不更新问题 @TableField(updateStrategy = FieldStrategy.NOT_NULL)

    mybatis plus 中 使用 updateById或updateBatchById 更新字段为null 不更新问题解决方法为:在该字段上加上TableField(strategyFieldStrategy
    字段 NULL Mybatis updateById FieldStrategy
    admin 7月前
    77 0
  • ​​MyBatis-Plus 表字段策略详解:@TableField(updateStrategy) 的配置与使用指南​​

    在 MyBatis-Plus 中,TableField 注解的 updateStrategy 属性是控制字段更新行为的核心配置之一。合理使用它可以避免脏数据、优化 SQL 性能,甚至解决一些隐蔽的
    表字 使用指南 详解 策略 Mybatis
    admin 7月前
    108 0
  • mybatis报错Cause: org.xml.sax.SAXParseException The entity name must immediately follow the '&' in the

    mybatis报错 Cause: org.xml.sax.SAXParseException The entity name must immediately follow the & in the entity reference
    报错 XML SAX Mybatis org
    admin 7月前
    70 0
  • mybatis错误The entity name must immediately follow the '&' in the entity reference

    mybatis mapper.xml文件中配置提示如下错误:The entity name must immediately follow the & in the entity reference将 “&am
    错误 entity Mybatis Immediately reference
    admin 7月前
    83 0
  • MyBatis-Plus内置的主键生成策略有大坑,要注意!

    昨天小伙伴使用Mybaits-Plus开发的项目线上(集群、K8S)出现了主键重复问题,其报错如下: Mybatis-Plus启动时会通过 com.ba
    大坑 要注意 主键 策略 Mybatis
    admin 10月前
    98 0
  • 【MyBatis】Mybatis的java对象名和数据库表名不同怎么办?

    java对象名 和 数据库表名 不同怎么办? 提问: 我想请教一下,在使用mybatis的注解的时候,如果出现java对象名和数据库表名不同的时候,如
    对象 数据库 Mybatis java
    admin 2025-2-21
    111 0
  • 1
  • 2
  • »
CopyRight © 2022 All Rights Reserved 豫ICP备2021025688号-21
Processed: 0.021 , SQL: 9