post_img

05-Wrapper

摘要

Wrapper 创建Wrapper Mapper构造方法和Wrappers工具类创建方法中都可以接受实体对象来做等值查询,如果想改 …

post_img

05-Spring框架整合

摘要

Spring框架整合 整合MyBatis 需要使用到mybatis-spring整合包,已以及Spring和MyBatis(包括数 …

post_img

04-JdbcTemplate

摘要

JdbcTemplate 在引入IOC和AOP模块的基础上在引入Data Access/Integration模块,同时也要讲数据 …

post_img

04-Mapper

摘要

Mapper 查询 简单查询 Wrapper的实现类主要有QueryWrapper、UpdaterMapper、LambdaQue …

post_img

03-常用注解

摘要

常用注解 注解名 位置 描述 @TableName 实体类 对应数据库中的表名 @TableId 实体类属性 对应数据库表中的主键 …

post_img

02-常用配置

摘要

常用配置 配置 描述 mybatis-plus.config-location MyBatis配置文件位置,不能与configur …

post_img

01-MyBatis-plus简介

摘要

MyBatis-plus简介 MyBatis-Plus(简称 MP)是一个 MyBatis的增强工具,在MyBatis的基础上只做 …

post_img

03-AOP

摘要

AOP AOP(Aspect Orient Programming)面向切面编程,采用横向抽取(代理)机制取代纵向集成体系复用性代 …

post_img

02-IOC

摘要

IOC 传统开发方式如下:创建一个接口UserService,使用其实现类UserServiceImpl中的方法,这就有一个问题, …

post_img

01-Spring框架模块与获取

摘要

Spring框架模块与获取 模块 Spring将单独功能进行抽离,每个单独的小模块对应一个jar包,上层模块依赖下层模块,下面是对 …