Commit Graph

2894 Commits (662847bd76db2186b7a12ba470ae75356bb8cc51)
 

Author SHA1 Message Date
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
Chris Pennello 3f377c0bda
Adds support for Dropwizard 5 metrics.
But not health checks yet, though.
2 years ago
Chris Pennello 07e40c20ab
Fixes TestMetrics filter bug.
Previously, this matches implementation was ignoring the `name` passed
in and instead comparing the *literal* `"testMetricWait.pool.Wait"` to
the dynamically-created
`MetricRegistry.name("testMetricWait", "pool", "Wait")`.

This commit updates the matches implementation to instead compare the
`name` passed in.

This brings it in line with the other implementations in the same file.
2 years ago
Chris Pennello a7d9136629
Upgrades felix to 7.0.5.
This update avoids an issue in at least JDK 18 in which
`java.net.URLStreamHandler.equals` was inaccessible due to module
java.base not "opens java.net".  See below for more detail.

[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.129 s <<< FAILURE! - in com.zaxxer.hikari.osgi.OSGiBundleTest
[ERROR] com.zaxxer.hikari.osgi.OSGiBundleTest.checkBundle  Time elapsed: 0.09 s  <<< ERROR!
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Unable to make protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @484b61fc
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @484b61fc
2 years 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
Leo Bayer 7e64826649 Fix travis-ci badge urls 2 years ago
Taehong Kim 01cafff4e1
Remove redundant explicit imports (#1840) 2 years ago
Brett Wooldridge ef99317811
Add Librapay donations. 3 years ago
Brett Wooldridge 4d0944b502
Add Librapay donations. 3 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
spliffone 979c0ec64e
chore: use valid SCM URL instad of the Git SSH URL (#1930)
#1929

Co-authored-by: Bajohr, Rayk <rayk.bajohr@siemens.com>
3 years ago
Brett Wooldridge fbd2a18910 Add log when connection not added. 3 years ago
Brett Wooldridge 3bd0b70cea Update dependencies. 3 years ago
Brett Wooldridge 902fcf84a2 Merge commit 'b140fb3de36b3789266b5b0677065452dedbbd96' into dev
* commit 'b140fb3de36b3789266b5b0677065452dedbbd96':
  Bump postgresql from 42.2.20 to 42.3.3
3 years ago
Brett Wooldridge 23fd7b2e10 Merge commit '724140e683e5e9e892dad9607154220a835e0132' into dev
* commit '724140e683e5e9e892dad9607154220a835e0132':
  fix: pom.xml to reduce vulnerabilities
3 years ago
Brett Wooldridge c2148006ce Simplify connection creation. 3 years ago
dependabot[bot] b140fb3de3
Bump postgresql from 42.2.20 to 42.3.3
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.20 to 42.3.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.20...REL42.3.3)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
snyk-bot 724140e683
fix: pom.xml to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-ORGHIBERNATE-1041788
- https://snyk.io/vuln/SNYK-JAVA-ORGHIBERNATE-584563
3 years ago
Brett Wooldridge a9147ee0f6
Update README.md 3 years ago
Brett Wooldridge bb67b5d287 [maven-release-plugin] prepare for next development iteration 3 years ago
Brett Wooldridge be0557759d [maven-release-plugin] prepare release HikariCP-5.0.1 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 8f254ae32b
Update CHANGES 4 years ago
Brett Wooldridge 3ce565bc87
Update README.md 4 years ago
Brett Wooldridge d2c0d49f8a [maven-release-plugin] prepare for next development iteration 4 years ago
Brett Wooldridge 9bf0275c93 [maven-release-plugin] prepare release HikariCP-5.0.0 4 years ago