shaojin.wensj
116e7bee1a
bug fixed for multi-thread use one connection.
2019-03-20 15:27:33 +08:00
shaojin.wensj
9aa1798149
bug fixed for fail fast.
2019-03-19 19:48:42 +08:00
shaojin.wensj
d5003ee294
bug fixed for keepAlive
2019-02-26 11:09:47 +08:00
shaojin.wensj
acf740f5b2
bug fixed for keepAlive
2019-02-22 17:57:00 +08:00
Nico
751247faca
Remove unused import and fix error setter
2019-02-22 11:59:59 +08:00
shaojin.wensj
0baed9f7ca
refactor code, use StringBuilder & remove SimpleDateFormat
2019-01-29 16:13:55 +08:00
shaojin.wensj
4903a9ad3a
code format
2018-12-27 10:08:42 +08:00
shaojin.wensj
3211ec39e7
bug fixed for dead lock, for issue #2980
2018-12-21 20:24:47 +08:00
shaojin.wensj
6a6f9b72bd
bug fixed for issue #2985
2018-12-21 20:15:03 +08:00
shaojin.wensj
a1d9497c2d
MBean add getUrl method, for issue #2986
2018-12-21 19:44:43 +08:00
shaojin.wensj
3820eab883
code format
2018-12-13 16:00:47 +08:00
shaojin.wensj
2edd53432b
improved init performance.
2018-12-13 15:34:07 +08:00
shaojin.wensj
26a3af3904
set StringBuilder initial Size, reduce memory copy.
2018-12-03 09:41:15 +08:00
shaojin.wensj
4ffa0525c4
add more error info.
2018-11-23 17:32:50 +08:00
shaojin.wensj
475a848d6f
add removeAbandoned warning.
2018-11-01 20:21:11 +08:00
wenshao
66bb235f9b
support phyMaxUseCount
2018-10-13 20:09:22 +08:00
wenshao
6ce53e3203
add more error info.
2018-09-21 16:24:21 +08:00
wenshao
7aad235c3c
DruidDataSource add property phyMaxUseCount & shrinkQuietly.
2018-09-19 11:33:45 +08:00
wenshao
7f26a37432
fixed compile.
2018-09-18 12:30:39 +08:00
温绍锦
40ad7f9dc3
Merge pull request #2723 from digitalsonic/master
...
修复HADataSource的健康检查问题
2018-09-14 21:37:45 +08:00
wenshao
03845a41be
DruidDataSource support config 'initExceptionThrow'
2018-09-12 20:34:40 +08:00
wenshao
8542906c15
add comment.
2018-08-28 17:31:45 +08:00
DigitalSonic
54349c6f09
fix datasource name bug
...
add an identityHashCode suffix
2018-08-23 00:30:38 +08:00
wenshao
14c151ba06
bug fixed for initExceptionThrow
2018-08-22 18:06:03 +08:00
wenshao
a40071a3cb
DruidDataSource support initExceptionThrow config.
2018-08-22 17:29:26 +08:00
wenshao
ed46ec45ce
DruidDataSource add initExceptionThrow config.
2018-08-22 17:04:22 +08:00
DigitalSonic
8630cf9b5f
Optimize getConnection() method
...
The initialization process is optimized.
If init() is not invoked before getConnection(), it will call init()
first.
When selector obtain a null DataSource, getConnection() will return
null instead of throwing a NullPointerException.
2018-08-17 00:16:10 +08:00
wenshao
176390c5b1
bug fixed for DruidDataSource createPhysical error status
2018-08-08 17:38:34 +08:00
DigitalSonic
f355d62981
split the getter/setter for selector
...
Some old versions of Spring Framework would check the getter/setter of
a bean property. While they were not the same type, exception would be
thrown.
So selector’s getter&setter are all String now.
2018-08-05 23:42:59 +08:00
DigitalSonic
0d78a27d48
Fix validation bug
...
fix the following situation:
1. rawURL can not meet the need to create Connection
2. username and password are not given in Properties
if testOnBorrow or testOnReturn is set to true, the ValidationThread
will be disabled.
2018-07-12 00:00:24 +08:00
wenshao
98ef6a8579
add license info.
2018-05-27 18:21:27 +08:00
温绍锦
d0a0aaf073
Merge pull request #2485 from digitalsonic/master
...
为Druid增加URL占位符,使得Druid的一个DataSource可以同时连接多个目标
2018-05-17 20:43:56 +08:00
DigitalSonic
ed3861395c
Add a HA DataSource implementation
2018-05-05 23:23:46 +08:00
wenshao
e46178831a
improved DruidDataSource executeStatistic.
2018-05-03 14:04:23 +08:00
sunrui849
d64ab62edd
Oracle驱动问题优化
...
如果是oracle.jdbc.driver.OracleDriver驱动,替换为oracle.jdbc.OracleDriver,并wran,使用error容易让人误解。
原来是如果使用了过时的驱动,然后提示error,并继续使用过时的驱动,
现修改为如果使用了过时的驱动,提示warn,说明已改为新版的驱动。
2018-03-15 18:11:43 +08:00
wenshao
9a87c66ba9
bug fixed for useGlobalDataSourceStat.
2018-03-05 14:50:29 +08:00
wenshao
1ad43926ff
improved async init.
2018-03-02 15:25:33 +08:00
wenshao
859e1c5d7f
code format.
2018-02-11 10:24:05 +08:00
wenshao
67b5e9cdc6
bug fixed for issue #2210
2018-02-05 17:43:55 +08:00
wenshao
0781ff3967
fixed license info, from 2017 to 2018
2018-02-04 16:20:42 +08:00
wenshao
02e3a57828
add log info.
2018-02-04 16:14:22 +08:00
wenshao
8c3783310c
MySqlExceptionSorter support 1290 error code.
2018-02-04 13:35:57 +08:00
wenshao
26f350b21f
bug fixed for OdpsDriver getHoldability error.
2018-01-11 14:52:26 +08:00
wenshao
f6bba948f1
recycle add physicalConnection closed check.
2017-11-30 20:27:36 +08:00
wenshao
045205666d
changed isClosed rule, use logic closed.
2017-11-30 15:31:56 +08:00
wenshao
128ddafacf
truncated if lastFatalErrorSql too long.
2017-11-21 17:05:43 +08:00
wenshao
882470b1ce
add more onFatalError info.
2017-11-21 16:55:00 +08:00
wenshao
3fb484aa88
support create direct.
2017-11-20 22:55:23 +08:00
wenshao
a2174055a7
DruidDataSource onFatalErrorMaxActive support.
2017-11-20 15:30:28 +08:00
wenshao
a9c31ecdc2
bug fixed for testWhileIdle.
2017-11-02 16:36:01 +08:00