ctripcorp / dal

Ctrip Database Access Layer
Apache License 2.0
1.24k stars 448 forks source link

如何使用动态数据源?How to use dynamic data source? #71

Open alexwanghc opened 3 years ago

alexwanghc commented 3 years ago

我在dal.xml定义了一个主数据源,其他数据源定义在这个主数据源的表里,那么我怎样连接这些表里的数据源,绕开dal.xml,有没有提供这样的方法? I wanna define main data source in dal.xml, define other data source in table of major data source How can I connecting other data source in table of major data source?