Commit Graph

2248 Commits (fb95531f07a0ed4deb85a8d5286414b304f93652)
 

Author SHA1 Message Date
Brett Wooldridge fb95531f07 Update ProxyConnection.java
Fixes #661 add error code
9 years ago
Brett Wooldridge dd0c82613c Minor cleanup. 9 years ago
Brett Wooldridge 21eedd5502 Fixes #650 detect Amazon Redshift connection refused error code. 9 years ago
Brett Wooldridge 211bcd4657 Specify floating point accuracy. 9 years ago
Nitin 5cbb9351f8 Cherry-picked pull requests, added better Java 8+ detection. 9 years ago
Brett Wooldridge 54a4412847 Update README.md 9 years ago
Brett Wooldridge 61ae2ddcb6 Does dependency ordering affect maven's classpath order? Let's find out 9 years ago
Brett Wooldridge 871e67a639 Rollback hibernate dependency update ... JDK 7 was dropped. 9 years ago
Brett Wooldridge 6e5d87a173 Dependencies update 9 years ago
Brett Wooldridge 88af60af2c Update README.md 9 years ago
Brett Wooldridge 7daa07c58a Update README.md 9 years ago
Tokuhiro Matsuno 76cf343c8b Add prometheus support (#632) 9 years ago
Johno Crawford 7d1fb2ea3a PropertyBeanSetter uses default locale (#643)
Motivation:

toUpperCase works according to Locale settings, for example if your computer locale is Turkish, "idleTimeout" property turns into "setİdleTime" beacuse upper "i" is "İ" in Turkish.

Modifications:

Invoke toUpperCase with Locale.ENGLISH.

Result:

Fixes #641.
PropertyBeanSetter should work with Turkish locale.
9 years ago
Brett Wooldridge 8339bb0c78 Update README.md 9 years ago
Brett Wooldridge 39aa95eef4 [maven-release-plugin] prepare for next development iteration 9 years ago
Brett Wooldridge 5dac71955f [maven-release-plugin] prepare release HikariCP-2.4.6 9 years ago
Brett Wooldridge 2b21946a97 Prepare for 2.4.6 release 9 years ago
Johno Crawford 88e6c7b580 Shutdown will throw NPE if invoked from checkFailFast (#621)
Motivation:

Shutdown may be invoked as a result of checkFailFast failing resulting in an NPE as the executors are setup later in the constructor.

Modifications:

Add null checks before trying to shutdown the executors.

Result:

"Graceful" shutdown.
9 years ago
Brett Wooldridge 8dde168adb Possibly Fixes #606 Fixes ##610 housekeeper was running before all class members were initialised leading to an NPE in the housekeeper. Whether or not a particular VM would recover depends somewhat on its memory model. The pool on OS X did recover after the initial failure. 9 years ago
Brett Wooldridge 73777265b1 Merge pull request #611 from emiliolg/dev
Add ORA-02399: exceeded maximum connect time to SQL_ERRORS.
9 years ago
Emilio Lopez Gabeiras 50ce1a1acc Add ORA-02399: exceeded maximum connect time to SQL_ERRORS.
Not handling it avoids eviction of the connection and corrupts the pool.
For example the following NullPointerException is thrown when trying to use the pool afterwards:
java.lang.NullPointerException at com.zaxxer.hikari.pool.PoolBase.isConnectionAlive(PoolBase.java:128)
	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:171)
	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)
	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:99)
	.......
9 years ago
Brett Wooldridge 0e08531a23 Update README.md 9 years ago
Brett Wooldridge 5884c921a2 [maven-release-plugin] prepare for next development iteration 9 years ago
Brett Wooldridge dca9399219 [maven-release-plugin] prepare release HikariCP-2.4.5 9 years ago
Brett Wooldridge b4c358a4c3 Update changes log 9 years ago
Brett Wooldridge a10034ca43 Merge branch 'dev' of https://github.com/brettwooldridge/HikariCP into dev 9 years ago
Brett Wooldridge 668315c5de Fixes #596 9 years ago
Brett Wooldridge db989fff2d Merge pull request #590 from mtambara/concurrent
Add test to demonstrate concurrency problem
9 years ago
Brett Wooldridge 610ea712ef Fixes #594 store unique pool number as a String in the global system properties. 9 years ago
Brett Wooldridge ed60109dcc Fixes #594 store unique pool number as a String in the global system properties. 9 years ago
Brett Wooldridge 09ab4fbfa7 Fixes #594 store unique pool number as a String in the global system properties. 9 years ago
Brett Wooldridge 15037cc156 time-out was too tight and causing sporadic travis-ci failures. 9 years ago
Brett Wooldridge 5c8248732b Paternalistic fix for developers with a weak grasp of resource ownership. 9 years ago
Brett Wooldridge 5eebe56dd1 Fixes #591 Synchronise the track statement method, and clearing of the tracked statement list. 9 years ago
Brett Wooldridge 21357a6b08 Fixes #591 Synchronise the untrack statement method to ensure that Statements are independently thread-safe. 9 years ago
Brett Wooldridge bd96f1cca4 Fixes #593 This is a very common condition rather than an "exceptional" one, so log at information level and do not classify as a "failure". 9 years ago
Matthew Tambara d59771cd16 Add test to demonstrate concurrency problem 9 years ago
Brett Wooldridge a7e0d359b0 [maven-release-plugin] prepare for next development iteration 9 years ago
Brett Wooldridge 0b485eb91a [maven-release-plugin] prepare release HikariCP-2.4.4 9 years ago
Brett Wooldridge 3e933042cf prepare for 2.4.4 release 9 years ago
Brett Wooldridge d4fc39cd03 [maven-release-plugin] prepare for next development iteration 9 years ago
Brett Wooldridge c1e69dcf90 [maven-release-plugin] prepare release HikariCP-2.4.4-RC2 9 years ago
Brett Wooldridge 0aff6b4c84 Merge branch 'dev' of https://github.com/brettwooldridge/HikariCP 9 years ago
Nitin 6ed3b18591 small but important fixes
removed var

removed resetting, delink validationTimeout from connectionTimeout

one less ref per leak task. renamed start() to schedule()

made some fields final

init of leakDetectionThreshold is not required for other instances

toString using elapsedDisplayString

fix: update poolEntry.lastBorrowed in case NopMetricsTrackerDelegate

fix tests.. try1

setting isCommitStateDirty conditionally in setAutoCommit()

again, avoid calling getNextException :)

setting lastAccess in close()

setting lastAccess required only in ctor and close

removed borrowed time from PoolEntry#toString()

now that lastAccess is moved to close(), moved condition too

one less call to System.nanoTime()

fix. using toNanos()

reverted toNanos() change, got too cumbersome

removed two calls to system time

timeout is not clock time :)

only one call saved but precise 'time taken to borrow'

unlink validation of connectionTimeout with maxLifetime

Merge

Revert
9 years ago
Brett Wooldridge fc1aea9609 Merge branch 'dev' of https://github.com/nitincchauhan/HikariCP into dev 9 years ago
Brett Wooldridge bbe692e17a Merge pull request #574 from guidomedina/gm-intellij-inspections-and-dependency-updates
IntelliJ inspections fixes and Maven updates
9 years ago
Brett Wooldridge aaea7a5d3b Merge pull request #577 from kleinron/patch-1
Update README.md
9 years ago
Nitin e4b91287cb simplified call to executeSql() 9 years ago
Nitin c7e3a8f6cc moved validateNumerics(), last in validation and is not throwing any
exception
9 years ago
Guido Medina bf83c624ed IntelliJ inspections fixes, Maven dependencies and plugins updated to latest stable. 9 years ago