| 类 | 说明 |
|---|---|
| DataSourceConfig | |
| GlobalSqlSession |
全局MyBatis数据源管理类
通过Guice Inject后初始化SqlSessionManager 存储方式为 {数据源名称 - SqlSessionManager} |
| MapperProvider<T> | |
| MultiDataSourceModule |
MyBatis XML模式读取数据源,并通过jdbc属性文件进行配置
将创建的SqlSessionFactory写入至全局管理类. |
| MultiTransactionalMethodInterceptor |
Method interceptor for
MultiTransactional annotation. |
| MultiTransactionalModule | |
| MybatisDataSourceLoader |
| 注释类型 | 说明 |
|---|---|
| MultiTransactional |
Any method marked with this annotation will be considered for
transactionality.
|
Copyright © 2015-2017. All Rights Reserved.