mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
!323 update docs/zh/core/multi-datasource.md.
Merge pull request !323 from CrazyAirhead/N/A
This commit is contained in:
commit
f15b88a68c
@ -30,7 +30,7 @@ dataSource2.setJdbcUrl(....)
|
|||||||
DataSource dataSource3 = new HikariDataSource();
|
DataSource dataSource3 = new HikariDataSource();
|
||||||
dataSource3.setJdbcUrl(....)
|
dataSource3.setJdbcUrl(....)
|
||||||
|
|
||||||
MyBatisFlexBootstrap.getInstance()
|
MybatisFlexBootstrap.getInstance()
|
||||||
.setDataSource("ds1", dataSource1)
|
.setDataSource("ds1", dataSource1)
|
||||||
.addDataSource("ds2", dataSource2)
|
.addDataSource("ds2", dataSource2)
|
||||||
.addDataSource("ds3", dataSource3)
|
.addDataSource("ds3", dataSource3)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user