Commit Graph

2867 Commits (d54418061f4c66e1f4726232d097260d96b70488)
 

Author SHA1 Message Date
Brett Wooldridge d54418061f "merged" #2126 Added Support For beginRequest and endRequest (new version) 4 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
4 months ago
Yanming Zhou 82c82adfda
Skip Connection::setNetworkTimeout if PoolBase::shutdownNetworkTimeoutExecutor is called (#2147)
Fix GH-2130
4 months ago
Carl Mastrangelo 4f6b295e14
Make Savepoint rollbacks mark the connection dirty (#2149)
Addresses https://github.com/brettwooldridge/HikariCP/issues/2142
4 months ago
Thomas Aregger a671b6e24d
Close connections marked as evicted instead of returning them to the pool (#2157) 4 months ago
Brett Wooldridge aeabea98b7 cherry-picked changes from pull request #2166 4 months ago
benapple d43c272f3f
add support to get and set db credentials in an atomic operation (#2189) 4 months ago
Yanming Zhou 1d173513be Eliminate network call if state get is called after set (#2199)
Fix GH-2198
4 months ago
VJ b3e6d23dc5
Consistent handling of errorCode and sqlState in timeout exception (#2226)
Co-authored-by: the-vj <one.vallu@gmail.com>
4 months ago
Brett Wooldridge debc723d72 Prepare for 5.2.0 release. 4 months ago
Brett Wooldridge 7ec98c3ee2 Minor debug logging change. 4 months ago
Brett Wooldridge f601340304 Minor debug logging change. 4 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
Leo Bayer b40e684208 Fixes #2138 add gpg keys 1 year ago
Leo Bayer 61ae81108a update readme with latest artifact (5.1.0) 1 year ago
Leo Bayer 9be1c98cbe [maven-release-plugin] prepare for next development iteration 1 year ago
Leo Bayer 98bd21c8fe [maven-release-plugin] prepare release HikariCP-5.1.0 1 year ago
Leo Bayer 7ba05c6bb7 change version to 5.1.0 1 year ago
Leo Bayer fd18a178ff move oss-parent build into pom.xml and upgrade some build dependencies 1 year ago
Leo Bayer 8c1a7c2934 update changelog 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 2e07be7b32 remove travis-ci artifacts 2 years ago
Brett Wooldridge 3c33a8a5bf circleci build badge 2 years ago
Brett Wooldridge 3e7b6902dc CircleCI build config 2 years ago
Brett Wooldridge 6f2159efd2 CircleCI build config 2 years 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
minsunshine 504ee7d1b2
make github pipline successful (#2012)
* workflow manually from the Actions tab

workflow manually from the Actions tab

* set use jdk 11

set use jdk 11

* set default reuseForks is false

because HikariConfigTest couldn‘t get log record;
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
cui fliter 215ce945c6
fix README.md typo (#1997)
Signed-off-by: cui fliter <imcusg@gmail.com>

Signed-off-by: cui fliter <imcusg@gmail.com>
2 years ago
Martin Steiger 601475192d
Don't log keystore passwords in DriverDataSource (#1993) 2 years ago
Dries Samyn 3a90fb97b9
Add `com.zaxxer.hikari.metrics.dropwizard`, `com.zaxxer.hikari.metrics.micrometer` and `com.zaxxer.hikari.metrics.prometheus` to the OSGi exported packages. (#1989) 2 years ago
Wawrzyniec-Nowak a417081401
Bring back automatic-module-name property (#1908) 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
Sean Sullivan 0e76e6b467 add 'Google Spanner' JDBC to README 2 years ago
pjmatt 1c450d030f
Update Wix engineering writeup URL (#1984) 2 years ago