Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DruidDataSourceFactory.createDataSource 不能读取配置文件name属性 #1174

Closed
Kumhy opened this issue Apr 20, 2016 · 1 comment
Closed
Milestone

Comments

@Kumhy
Copy link

Kumhy commented Apr 20, 2016

prop:
name=test
url=jdbc:mysql://localhost:3306/test
username=root
password=123456

DruidDataSource dataSource = (DruidDataSource) DruidDataSourceFactory.createDataSource(prop);

通过DruidDataSourceFactory.createDataSource创建的DruidDataSource,在DruidStatView看到是没有生效的

wenshao added a commit that referenced this issue May 6, 2016
DruidDataSourceFactory add 'name' property support, fixed issue #1174
@wenshao wenshao added this to the 1.0.19 milestone May 6, 2016
@wenshao
Copy link
Member

wenshao commented May 6, 2016

已经支持,请等待新版本

@wenshao wenshao closed this as completed May 6, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants