数据库技术-Mybatis
Mybatis一些常用的原理操作
m0_46485771
这个作者很懒,什么都没留下…
展开
-
多模块下Mybatis配置
主模块的application.yml里面,配置mybatis的mapper-locations时, 用的是classpath, 只会扫描当前moduler的class, 而改为classpath*则会扫描所有jar。yml文件放在最外层的主模块中原创 2021-11-03 14:48:44 · 759 阅读 · 0 评论 -
SpringBatch批处理-高级优化-本地分区-附可运行源码
MQ远程分片使用ActiveMQ分片书里很少,每天机器消费一个消息的配置。原创 2021-01-19 22:11:22 · 594 阅读 · 0 评论 -
Mybatis系列文章--日常记录
mybatis比较字符转义 大于 等于 小于等于原符号 < <= > >= & ' "替换符号 < <= > >= & ' "原创 2020-12-29 11:45:21 · 60 阅读 · 0 评论 -
Sprinbatch文章系列-事务嵌套异常-Cannot change the ExecutorType when there is an existing transaction
org.springframework.dao.TransientDataAccessResourceException: Cannot change the ExecutorType when there is an existing transaction at org.mybatis.spring.SqlSessionUtils.sessionHolder(SqlSessionUtils.java:163) ~[mybatis-spring-2.0.5.jar:2.0.5] at org.myba原创 2020-10-28 18:03:19 · 1550 阅读 · 0 评论 -
Mybatis入门和精通文档清单列表
Mybatis Githubhttps://github.com/mybatisMybatis3中文文档https://mybatis.org/mybatis-3/zh/index.html### 简介 ### 入门 ### XML ### 配置 ### XML ### 映射文件 ### 动态 SQL ### Java API ### SQL 语句构建器 ### 日志Mybatis Springhttp://mybatis.org/spring/zh/index.htmlM原创 2020-08-30 12:47:04 · 81 阅读 · 0 评论 -
Mybatis调用操作-入门
文章目录文件结构对象类和Mapper接口编写调用类步骤说明参考网址:https://mybatis.org/mybatis-3/zh/getting-started.html接上一个JDBC数据库操作之后,然后使用Mybatis进行数据库操作。文件结构配置文件pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmln原创 2020-07-04 21:35:58 · 219 阅读 · 0 评论