当前位置 博文首页 > 逐墨飞扬的博客:mybatis之SqlSessionFactory、SqlSession
逐墨飞扬的博客:mybatis之SqlSessionFactory、SqlSession
作者:[db:作者]
时间:2021-07-12 15:49
文章目录
- SqlSessionFactory
- 从xml中构建
- 引入外部配置< properties >
- 配置参数< settings >
- settings支持的属性
- 完整的 settings 元素的示例
- 类型别名< typeAliases >
- 多环境配置
- 多环境配置示例
- 事务管理器 < transactionManager >
- 数据源
- SqlSessionFactory示例
-
- SqlSession
cs