From 569df7cd4378323694ea39ca6bb4613a02917c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E9=93=81?= Date: Tue, 3 Oct 2017 06:08:20 -0500 Subject: [PATCH] =?UTF-8?q?Updated=20DruidDataSource=E9=85=8D=E7=BD=AE=20(?= =?UTF-8?q?markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DruidDataSource配置.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DruidDataSource配置.md b/DruidDataSource配置.md index 7d5c9fa..596c58b 100644 --- a/DruidDataSource配置.md +++ b/DruidDataSource配置.md @@ -21,8 +21,11 @@ DruidDataSource大部分属性都是参考DBCP的,如果你原来就是使用D + + ``` * 在上面的配置中,通常你需要配置url、username、password,maxActive这三项。 -* Druid会自动跟url识别驱动类名,如果连接的数据库非常见数据库,配置属性driverClassName \ No newline at end of file +* Druid会自动跟url识别驱动类名,如果连接的数据库非常见数据库,配置属性driverClassName +* asyncInit是1.1.4中新增加的配置,如果有initialSize数量较多时,打开会加快应用启动时间 \ No newline at end of file