refactor: adjust file organisation

This commit is contained in:
siujamo
2026-05-21 02:11:31 -05:00
parent 0295b758fd
commit 5963a4fcc2
46 changed files with 1 additions and 15 deletions
+31
View File
@@ -0,0 +1,31 @@
---
title: MyBatis Flex
tags:
- java
- mybatis
- spring-boot
- orm
- framework
author:
name: Zihlu Wang
email: real@zihluwang.me
---
> 本文仅针对在 Spring Boot 3 中使用 `MyBatis Flex`
## 安装与配置
### 安装
`gradle` 目录下的 `libs.versions.toml` 中添加如下代码:
```toml
[versions]
mybatisFlexVersion = "X.Y.Z"
hikariVersion = "X.Y.Z"
[libraries]
hikari = { group = "com.zaxxer", name = "HikariCP", version.ref = "hikariVersion" }
mybatisFlex-processor = { group = "com.mybatis-flex", name = "mybatis-flex-processor", version.ref = "mybatisFlexVersion" }
mybatisFlex-starter = { group = "com.mybatis-flex", name = "mybatis-flex-spring-boot3-starter", version.ref = "mybatisFlexVersion" }
```