使用druid代替DBCP
Open
- Dominant language
- Java
- Stars
- 1k
- Forks
- 655
- PR merge metrics
- No merged PRs in 30d
Description
1) druid更稳定,功能更强
2) druid是我们自己的开源项目,应该相互支持。
3) druid已发布到在maven中央仓库,外部用户可以直接使用。
4) druid配置和dbcp配置兼容,只需要修改一个DataSource的类名就可以支持了,所有的功能都有对等的。比如com.alibaba.druid.pool.DruidDataSourceFactory可以替代BasicDataSourceFactory。
druid的maven仓库中最新版本:
http://repo1.maven.org/maven2/com/alibaba/druid/0.2.22/
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by searching the repository for DBCP usage, BasicDataSourceFactory, and DataSource configuration. Compare the existing setup with com.alibaba.druid.pool.DruidDataSourceFactory and verify that the project still builds and its existing tests pass after the replacement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, database
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100