Commit Graph

721 Commits (973b4357b09614f0e98922f328d08d45007dc199)
 

Author SHA1 Message Date
Brett Wooldridge 621dcdf12e Add provided dependency on coda hale metrics. 11 years ago
Brett Wooldridge bffb8b93f6 Merged #48 fix connectionTest validation 11 years ago
Brett Wooldridge 84d82b292f Change defaults. 11 years ago
Brett Wooldridge 49a0187b41 Default minIdle the same as maxPoolSize. 11 years ago
Brett Wooldridge 16dfabbc9e Split out stateless utility functions to reduce the weight of the HikariPool class (increases readability). 11 years ago
Brett Wooldridge 564a65372f Rename idleConnectionBag to connectionBag. 11 years ago
Brett Wooldridge eda6aaddac Change connectionTimeout minimum to 250ms. 11 years ago
Brett Wooldridge 9ff609b64b Fix timing edge case in test. 11 years ago
Brett Wooldridge 5ba531c3d4 Check validation error 11 years ago
Brett Wooldridge 0abb916c7c Improve warnings for invalid configuration 11 years ago
Brett Wooldridge e1563e46d6 Use the DriverManager to create connections. 11 years ago
Brett Wooldridge 996b4baca1 Update changes.log. 11 years ago
Brett Wooldridge b51568618e Update changes.log. 11 years ago
Brett Wooldridge 0ccd39f95f Remove deprecated calls from tests, fix test conditions for new background fill behavior. 11 years ago
Brett Wooldridge 8daf9d3005 Implement new background adding of connections to maintain a "minimumIdle" level. 11 years ago
Brett Wooldridge efa2fcc440 Restore former barrow() logic, add getCount() and size)() methods. 11 years ago
Brett Wooldridge bf2872af53 Add eviction method. 11 years ago
Brett Wooldridge a32ec77dc9 Remove acquireRetries and acquireRetryDelay 11 years ago
Brett Wooldridge f2c87b915e Add a exception log for JavassistProxyFactory static initiaiization. 11 years ago
Brett Wooldridge 91e4729b88 Revert "Use our cascading ClassLoader."
This reverts commit 183d036173.
11 years ago
Brett Wooldridge 183d036173 Use our cascading ClassLoader. 11 years ago
Brett Wooldridge d8dbad1ed9 Pull additional hibernate properties over. 11 years ago
Brett Wooldridge 0d095fb494 Remove context class loader. 11 years ago
Brett Wooldridge adeae97f3a Fix NPE. 11 years ago
Brett Wooldridge 8ec2953efd Add username and password properties as well as cleanup validation (not complete). 11 years ago
Brett Wooldridge 783bb5ae29 Handle username and password settings, treat the DriverDataSource like other datasources. 11 years ago
Brett Wooldridge 14d72a2b29 Handle username and password settings. 11 years ago
Brett Wooldridge e43864f626 Pickup additional parameters from Hibernate. 11 years ago
Brett Wooldridge 2dd9c08a3f Use an object-based key for the multi pool 11 years ago
Brett Wooldridge 38501d74fd Remove com.sun.tools.attach from OSGi manifest. 11 years ago
Brett Wooldridge c4469ce58c Add support for DataSource.getConnection(username, password). 11 years ago
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