摘要: MyBatis配置解析 1、核心配置文件 mybatis-config.xml MyBatis 的配置文件包含了会深深影响 MyBatis 行为的设置和属性信息。 配置文档的顶层结构如下: configuration(配置) properties(属性) settings(设置) typeAlias 阅读全文
posted @ 2020-08-09 22:45 想拥有两颗❤ 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 第一个Mybatis 思路:搭建环境-->导入Mybatis-->编写代码-->测试 1、搭建环境 新建maven工程,配置xml文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM 阅读全文
posted @ 2020-08-09 22:00 想拥有两颗❤ 阅读(102) 评论(0) 推荐(0) 编辑