Commit Graph

811 Commits (0486c5904e83ebd18201381ec52fd52ab80d57df)
 

Author SHA1 Message Date
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
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