Commit Graph
946 Commits
Author SHA1 Message Date
wenshao ed803392d8 more GetConnectionTimeout message info. add field 'creatingCount' 2017-04-23 15:38:28 +08:00
wenshao 9e80c23b7b improved ExceptionSorter. 2017-04-18 15:49:54 +08:00
wenshao 85aeca86ec log more info. for issue #1682 2017-04-14 11:56:23 +08:00
高铁 7f9023feae Merge pull request #1681 from zxy1123/Branch_1.0.28
for corona fix
2017-04-12 10:20:55 +08:00
zxy 1bdddef7f3 for corona fix 2017-04-11 22:27:39 +08:00
wenshao c3db40c748 fixed copyright info. 2101 -> 2017 2017-03-14 21:18:18 +08:00
wenshao 73ba75d30b Merge remote-tracking branch 'upstream/master' 2017-03-14 21:00:16 +08:00
wenshao aa8459e192 use ReentrantLock replace sysnchronized. for ali jvm fiber wisp 2017-03-14 10:07:05 +08:00
DigitalSonic 22c8b9b67b Downgrade to JDK6. remove(Object, Object) is not existed in HashMap of JDK6. 2017-02-24 17:21:14 +08:00
DigitalSonic 1d7bc65b3d remove the statement from pool while it threw an exception
While the pooled PreparedStatement threw an exception, remove it from
the pool, and then close it.

The commit 94638ad didn’t fix issue #1498 . Try this one.
2017-02-24 00:05:34 +08:00
高铁 8a899618a0 Merge pull request #1601 from digitalsonic/master
优化Oracle、MySQL和PostgreSQL的验证器
2017-02-16 23:51:45 +08:00
wenshao 427c16d955 bug fixed for issue #1598 2017-02-11 14:51:18 +08:00
wenshao fcf728fc42 add property valid check. 2017-02-11 14:50:38 +08:00
DigitalSonic cba0d4fead 修正PG的校验器问题
修正stmt未设置查询超时的问题
2017-02-10 22:25:23 +08:00
DigitalSonic 9bb7ab9d7a 修正Oracle校验器问题
修正原先的实现中isValidConnection方法忽略validationQueryTimeout参数的问题,优先使用validationQ
ueryTimeout,然后才是timeout
2017-02-10 22:24:22 +08:00
DigitalSonic aed14f383a 修正MySQL校验器的问题
1. 查询超时单位是秒,默认1000秒太长了,估计当时搞错单位了
2.当方法没有传SQL时设定一个默认的SQL,而不是直接返回true
2017-02-10 22:22:26 +08:00
wenshao d755cb072a improved monitor. 2017-02-03 22:09:01 +08:00
wenshao 2b23a07734 DruidDataSource add keepAlive support. 2017-01-22 17:39:20 +08:00
wenshao 59b9ae8612 DruidDataSource add keepAlive support. 2017-01-21 22:28:59 +08:00
wenshao 8c8c31c41c DruidDataSource add keepAlive support. 2017-01-21 19:17:17 +08:00
wenshao a3bad1ace7 DruidDataSource add keepAlive support. 2017-01-21 14:52:56 +08:00
wenshao 160320f396 DruidDataSource add keepAlive support. 2017-01-21 14:38:04 +08:00
wenshao c78cc6ced8 improved DruidDataSource.shrink, decrement memory allocate. 2017-01-21 13:34:46 +08:00
wenshao 55165e2f22 use field access replace getter, use array replace ArrayList. 2017-01-21 02:03:42 +08:00
wenshao 77bfab01f5 refactor sql parser. sqlite support limit clause. #1556 2016-12-26 20:11:49 +08:00
wenshao 74b456d659 bug fixed for issue #1539 2016-12-12 17:05:02 +08:00
wenshao e13b24599a bug fixed for issue #1539 2016-12-12 17:03:06 +08:00
wenshao 1d400d9539 bug fixed for issue #1539 2016-12-12 17:00:41 +08:00
wenshao 3c1acd06b8 DruidDataSource add initVariable & initGlobalVariable support. 2016-12-10 21:18:36 +08:00
wenshao e5b92293b2 repair spelling errors. issue #1540 2016-12-10 20:03:44 +08:00
wenshao 30dc501051 changed after resetStat activePeak default value. 2016-12-10 20:03:06 +08:00
wenshao ebfe5b6898 bug fixed DataSource.createPhysicalConnection. 2016-12-10 19:37:48 +08:00
wenshao 89093deb75 bug fixed for ValidConnectionChecker 2016-11-25 20:58:26 +08:00
wenshao fbe54ff217 bug fixed for validConnectionChecker. 2016-11-25 19:02:36 +08:00
wenshao 94638ad16f bug fixed for pscache, if preparedStatement throw exception, removed from pscache. issue #1052 2016-11-24 00:30:11 +08:00
wenshao 2dc90c572b MySqlExceptionSorter direct support com.mysql.jdbc.exceptions.jdbc4.CommunicationsException 2016-11-18 21:11:08 +08:00
wenshao f66c08fb51 bug fixed for issue #1450 2016-10-20 15:56:05 +08:00
arbow 6e2c94937e time unit of 'checkoutTimeout' is milliseconds, don't need to be multiplied by 1000 2016-09-29 15:20:54 +08:00
wenshao 9481c8d604 improved MySqlExceptionSorter. support aliyun rds access denied error code. 2016-09-27 11:12:16 +08:00
wenshao 2e478b1869 improved WallFilter config. issue #1426 2016-09-25 02:11:43 +08:00
wenshao 444fd33384 bug fixed for odps sql parser. 2016-09-23 10:01:38 +08:00
wenshao 77ee426082 improved sql parser, support apache phoenix. 2016-09-14 15:05:12 +08:00
wenshao 49d7884c96 refactored code, use public field instead of public getter. 2016-09-13 10:39:12 +08:00
wenshao e0837d7c24 bug fixed for getHoldability compatible with Hive. issue #1386 2016-08-26 00:48:50 +08:00
wenshao 35d00ec5e2 bug fixed for DruidDataSource.close. 2016-08-21 20:05:58 +08:00
arnkore 5684b8e4b0 lose message 2016-08-10 00:07:11 +08:00
wenshao 562e1d84ed bug fixed for DruidPooledStatment.getMoreResults 2016-08-09 11:19:35 +08:00
wenshao 1a7a456c58 improved mysql driver 6.0.x support. 2016-08-07 15:08:02 +08:00
wenshao 3a16975af1 improved DruidDataSourceFactory config method. issue #1344 2016-08-07 12:41:52 +08:00
wenshao 4838786d6a add mysql-driver 6.0.x support 2016-08-07 11:37:02 +08:00