Skip to content

Commit

Permalink
修改注释
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Jul 25, 2017
1 parent 5009a13 commit f2e2ff0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

package org.hswebframework.web.dao.mybatis;

import org.hswebframework.web.datasource.DataSourceHolder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
Expand All @@ -44,9 +45,9 @@ public class MybatisProperties extends org.mybatis.spring.boot.autoconfigure.Myb
private static final String defaultMapperLocation = "classpath*:org/hswebframework/web/dao/mybatis/mappers/**/*.xml";
/**
* 是否启用动态数据源
* 启用后调用{@link org.hswebframework.web.dao.datasource.DynamicDataSource#use(String)},mybatis也会进行数据源切换
* 启用后调用{@link DataSourceHolder#switcher()},mybatis也会进行数据源切换
*
* @see org.hswebframework.web.dao.datasource.DynamicDataSource
* @see DataSourceHolder#switcher()
*/
private boolean dynamicDatasource = false;
/**
Expand Down

0 comments on commit f2e2ff0

Please sign in to comment.