多数据源
动态数据源,多数据源,读写分离 等
类与方法上通过注解即可设置不同数据源
功能介绍
框架内置了多数据源的支持
开启配置:
使用注解@DataSource("master")在需要的方法与类上标注即可
没有标注的采用默认数据源
From here you can search these documents. Enter your search terms below.
| Keys | Action |
|---|---|
| ? | Open this help |
| n | Next page |
| p | Previous page |
| s | Search |