Commit Graph

2240 Commits (6e5d87a173f9bc9b1ce69175aafd33c8cdf8bd1f)
 

Author SHA1 Message Date
Brett Wooldridge 14a2891ef5 Move configuration validation into the HikariDataSource. 11 years ago
Brett Wooldridge 3a2985541e Fix unit tests to calculate proper times per retry. 11 years ago
Brett Wooldridge 3d2300adcf Fix connectionTimeout calculation. 11 years ago
Brett Wooldridge 3c20da2751 DataSource.setLoginTimeout() is in seconds. Make sure the milliseconds passed in to addConnection(timeout) is converted to seconds. Also add a validation to prevent sub-second retries that would be converted to 0 when performing a millisecond to second conversion using TimeUnit. 11 years ago
Brett Wooldridge 27cd322fba Closes#45 if the PropertyBeanSetter fails to find the setter method via "set" + first property character capitalized, try "set" + property fully capitalized. This handles cases where "url" is used as a property but the setter is setURL() rather than setUrl(). 11 years ago
Brett Wooldridge b46e484bad Tighten-up code. 11 years ago
Brett Wooldridge c8c63e8c85 Tighten-up code. 11 years ago
Brett Wooldridge fb69033eb5 Fix tests to use fail fast initialization 11 years ago
Brett Wooldridge ecf531d7f3 Minor code reorganization. 11 years ago
Brett Wooldridge 99b2b765ce closes #44 potential connection leak during connection creation in some failure scenarios. 11 years ago
Brett Wooldridge 079bf9e8c2 Fix assertion. 11 years ago
Brett Wooldridge bcfcf71721 Don't log every failed connection attempt, it could flood the log during a
database restart on a busy server.  Log at most 1 per second.  Always
log when debug is enabled.
11 years ago
Brett Wooldridge 37c4d20099 Mark useInstrumentation deprecated and log warning. 11 years ago
Brett Wooldridge 53558b64d1 Add back java7/8 fairness optimization without breaking Java 6. 11 years ago
Brett Wooldridge 41d7750133 Fix connection timeout/retry handling and add tests. 11 years ago
Brett Wooldridge 5e1b7be484 Implement unwrap() 11 years ago
Brett Wooldridge 4a410d8593 Remove acquireIncrement from tests. 11 years ago
Brett Wooldridge 9b599f9bfd Update README.md 11 years ago
Brett Wooldridge 8f280e4d0c Fix calculation error that would not allow loginTimeout to go to zero. 11 years ago
Brett Wooldridge 5adebc96ea Tighten-up code. 11 years ago
Brett Wooldridge bcab411f4e Restore shutdown check ... but in a slightly different spot 11 years ago
Brett Wooldridge b7284da738 Remove redundant shutdown check (handled properly by the pool), and unnecessary assignment to null in the case where pool is already null. 11 years ago
Brett Wooldridge 04005cf619 fix #43 add null check to shutdown 11 years ago
Brett Wooldridge 4dea4c8d41 Add calculated effective acquisition time and inter-attempt delay. 11 years ago
Brett Wooldridge 3869ed0edb Remove unused acquireIncrement 11 years ago
Brett Wooldridge ccd4ddd3ee Merge branch 'openwide-java-add-override-annotations-where-needed-dev' into dev. However, some of the methods marked @Override are in fact not present in Java6 and so produce errors in the IDE and were therefore removed. 11 years ago
Brett Wooldridge 1bca94af9e Merge branch 'master' into dev 11 years ago
Guillaume Smet d415ba8353 Add @Override annotation where needed.
Starting with Java 6, we can annotate with @Override a class method implementing
a method from an interface.
11 years ago
Brett Wooldridge b4510a50c0 Retire acquireIncrement and acquireRetryDelay properties. 11 years ago
Brett Wooldridge 17157309cc Update examples 11 years ago
Brett Wooldridge da5c02683d Updated changes log. 11 years ago
Brett Wooldridge 362be9d29d Javadoc and annotations. 11 years ago
Brett Wooldridge 3295443e9b Clean-up and tighten-up of code. 11 years ago
Brett Wooldridge d8bc281902 Fix incorrect incrementation of totalConnections when there is a retry. It should only be incremented on the first time through the loop. 11 years ago
Brett Wooldridge 2112a3470e Fix typo. 11 years ago
Brett Wooldridge 87868ca67b Update copyright. 11 years ago
Brett Wooldridge c2405e0423 Avoid unnecessary initialization of local variable. 11 years ago
Brett Wooldridge d8126eca81 Add support for DriverManager and JDBC URL-based pool configuration. 11 years ago
Brett Wooldridge af6a7dd430 Add support for DriverManager and JDBC URL-based pool configuration. 11 years ago
Brett Wooldridge 08f0a02d8a Thank you! 11 years ago
Brett Wooldridge e13d500894 Thank you! 11 years ago
Brett Wooldridge 39ffebfe0e Thank you! 11 years ago
Brett Wooldridge ccd364aacb Thank you! 11 years ago
Brett Wooldridge 8d717d40be Thank you! 11 years ago
Brett Wooldridge e56649c7d6 Icons 11 years ago
Brett Wooldridge 5e7dccf707 Icons 11 years ago
Brett Wooldridge 086ae7a1f9 Icons 11 years ago
Brett Wooldridge e0ab96d46a Icons 11 years ago
Brett Wooldridge c123371d43 Add definition of hikari 11 years ago
Brett Wooldridge 6637690f0d Add to property to control whether internal pool queries are isolated in their own
transactions or not.
11 years ago