Yanming Zhou
e58966bc09
Fix inconsistency between `isWrapperFor` and `unwrap` ( #2243 )
...
Closes GH-2237
3 months ago
Yanming Zhou
4bc96d16c2
Improve JavassistProxyFactory ( #2244 )
...
1. use `"target" + File.separator + "classes"` instead of `"target/classes"`
2. print target directory
3 months ago
Yanming Zhou
aa1e138fbd
Fix the wrong configuration name in Javadoc and rename variable ( #2248 )
3 months ago
Brett Wooldridge
28f81da440
change default maxLifetime variance from 2.5% to 25% to further avoid mass connection die-off dips
3 months ago
Brett Wooldridge
1c13fcd7cd
Fix JavaDoc error, self-closing tags not allowed.
5 months ago
Brett Wooldridge
d54418061f
"merged" #2126 Added Support For beginRequest and endRequest (new version)
5 months ago
Yanming Zhou
8053e39996
Create SQLExceptionOverride instance when exceptionOverrideClassName loaded ( #2133 )
...
Before this commit, exceptionOverrideClass may be loaded by different ClassLoader, and two instances are created but only the latter one is used. This commit make sure the class will only loaded once and only one instance is created.
Fix GH-2124
Fix GH-2171
5 months ago
Yanming Zhou
82c82adfda
Skip Connection::setNetworkTimeout if PoolBase::shutdownNetworkTimeoutExecutor is called ( #2147 )
...
Fix GH-2130
5 months ago
Carl Mastrangelo
4f6b295e14
Make Savepoint rollbacks mark the connection dirty ( #2149 )
...
Addresses https://github.com/brettwooldridge/HikariCP/issues/2142
5 months ago
Thomas Aregger
a671b6e24d
Close connections marked as evicted instead of returning them to the pool ( #2157 )
5 months ago
Brett Wooldridge
aeabea98b7
cherry-picked changes from pull request #2166
5 months ago
benapple
d43c272f3f
add support to get and set db credentials in an atomic operation ( #2189 )
5 months ago
Yanming Zhou
1d173513be
Eliminate network call if state get is called after set ( #2199 )
...
Fix GH-2198
5 months ago
VJ
b3e6d23dc5
Consistent handling of errorCode and sqlState in timeout exception ( #2226 )
...
Co-authored-by: the-vj <one.vallu@gmail.com>
5 months ago
Brett Wooldridge
7ec98c3ee2
Minor debug logging change.
5 months ago
Brett Wooldridge
f601340304
Minor debug logging change.
5 months ago
James Christian
0a6ccdb334
Only log 'Connection not added' when connection not added
1 year ago
Björn Darri Sigurðsson
3990d259a1
Fixes #2152
...
Duplicate connection in try with resources clause caused close() being called twice on each connection.
1 year ago
alsin
2021f90444
Don't try to cast metric registry before it is checked for null ( #2076 )
...
* Don't try to cast metric registry before it is checked for null
* Simplify the condition check
* Use previously obtained object instead of calling the same getter one more time
---------
Co-authored-by: Alexander Sinuskin <Alexander.Sinuskin.ext@deutsche-boerse.com>
1 year ago
Kwangyong Kim
5b2852e8bf
Fix #1818 Add system property for minimum login timeout, regardless of the connectionTimeout ( #1820 )
1 year ago
cal
8c202e4554
[cleanup] erefactor/EclipseJdt - Remove trailing whitespace - All lines ( #1752 )
...
EclipseJdt cleanup 'RemoveAllTrailingWhitespace' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
Co-authored-by: Leo Bayer <lfbayer@gmail.com>
1 year ago
cal
c37074d465
[cleanup] erefactor/EclipseJdt - Simplify lambda expression and method reference syntax ( #1754 )
...
EclipseJdt cleanup 'SimplifyLambdaExpression' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
1 year ago
cal
ddf32467f4
[cleanup] erefactor/EclipseJdt - Remove redundant super() call in constructor ( #1753 )
...
EclipseJdt cleanup 'RemoveUnnecessarySuperCall' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
1 year ago
cal
b5a4373214
[cleanup] erefactor/EclipseJdt - Evaluate without null check ( #1751 )
...
EclipseJdt cleanup 'EvaluateNullable' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
1 year ago
Liam Sorsby
d15560e9d9
[ #1950 ] Adds support for TRANSACTION_CURSOR_STABILITY and TRANSACTION_LAST_COMMITTED ( #1952 )
...
TRANSACTION_LAST_COMMITTED - This allows a readonly user to access a row and read the last commited data while Informix has an open lock against the data.
Unlike TRANSACTION_READ_UNCOMMITTED which would also accomplish the same but would end up allowing dirty reads. This would lead to us reading data that's potentially either rolledback or never actually commited.
TRANSACTION_CURSOR_STABILITY - Cursor stability will place a lock on a row as it's fetched which ensures that the data doesn't change while the program reads the data.
Documentation for cursor stability can be found here https://www.ibm.com/docs/en/informix-servers/12.10?topic=level-informix-cursor-stability-isolation
Documentation on Informix transaction isolation levels are here https://www.ibm.com/docs/en/informix-servers/12.10?topic=database-informix-environment-variables-informix-jdbc-driver
Co-authored-by: Liam Sorsby <liam.sorsby@skybettingandgaming.com>
1 year ago
Danny Faught
43d5231c96
refactor: fix spelling ( #2046 )
...
Co-authored-by: Bruce Ricard <bricard@vmware.com>
1 year ago
Leo Bayer
2883f84654
fix comment typo
1 year ago
Nicola Isotta
53459ab55a
add support for char[] in PropertyElf ( #2059 )
...
fix #2058
1 year ago
Jeff Fang
61ac830709
Remove error log for pool initialization exception ( #1660 )
...
Co-authored-by: Jeff Fang <jeff.fang@activenetwork.com>
1 year ago
Brett Wooldridge
e4bbce7152
Close #1986 evict connection exceptions with (SQLState HY000) error code 1105.
2 years ago
Brett Wooldridge
a050d81004
Cleanup maven build and modify for Java 11+ only.
2 years ago
Leo Bayer
d92b50f1a1
fix test: sleep needs to be guaranteed to be greater than aliveBypassWindowMs, not just equal
2 years ago
Leo Bayer
a7f9a4b2f5
Don't attempt second setNetworkTimeout call if first fails
2 years ago
Martin Steiger
601475192d
Don't log keystore passwords in DriverDataSource ( #1993 )
2 years ago
Martin Steiger
58b87f4be2
Don't log any passwords in JDBC url ( #1979 )
...
Co-authored-by: Martin Steiger <martin.steiger@ruv.de>
2 years ago
Arif Banai
32f36635c3
Expanded javadoc for the default constructor of HikariConfig ( #1732 )
2 years ago
Thomas Aregger
b22a6f50d6
Clarify javadoc of HikariConfig.setPoolName ( #1592 )
2 years ago
Taehong Kim
01cafff4e1
Remove redundant explicit imports ( #1840 )
2 years ago
Brett Wooldridge
69394742a6
Add pool stats to connection acquisition timeout exception
3 years ago
Brett Wooldridge
3104292f68
Minor code cleanups.
3 years ago
Brett Wooldridge
fbd2a18910
Add log when connection not added.
3 years ago
Brett Wooldridge
c2148006ce
Simplify connection creation.
3 years ago
Brett Wooldridge
3531928780
Update dependencies.
3 years ago
Brett Wooldridge
ed2da5f1f4
Fix idle timeout tests, sleep too tight to idle threshold. (+1 squashed commit)
...
Squashed commits:
[4844f9e1] Fix idle timeout tests, sleep too tight to idle threshold. (+8 squashed commits)
Squashed commits:
[e0ec6b7f] Fix idle timeout tests, sleep too tight to idle threshold.
[c40a690d] Fix idle timeout tests, sleep too tight to idle threshold.
[7a0a1560] Synchronize idleTimeout manipulation methods
[bab9f648] Fix idle timeout tests, sleep too tight to idle threshold.
[4ee5259b] Add missing ) character in message
[e9d49fc2] Enable debug logging for tests.
[89c1ab45] Fix idle timeout tests, sleep too tight to idle threshold.
[aa06bb85] Simplify pool entry last-accessed time handling.
4 years ago
Brett Wooldridge
51bb046201
logging pattern in test (+1 squashed commit)
...
Squashed commits:
[db19b885] plugin version
4 years ago
Brett Wooldridge
1991355e6b
Convert to Java 11
4 years ago
Brett Wooldridge
6546dd27dd
Shorten test (+3 squashed commits)
...
Squashed commits:
[3b09c167] Javadoc plugin version
[13079b14] Javadoc plugin version
[17a3eb97] Javadoc plugin version
4 years ago
darkslave86
2a92bcf2c7
Update HikariConfig.java ( #1761 )
...
fix alignment for config lines in log
4 years ago
Brett Wooldridge
a21a6ff6cd
Fix #1735 Add system property to permit lowering (or raising) the minimum allowed value for connectionTimeout and validationTimeout.
4 years ago
Brett Wooldridge
d0c7d54bc9
Fix regression cause by #1605 . When returning the addConnectionExecutor pool sizes
...
back to defaults, the core pool size must be changed before the maximum pool size.
4 years ago