Commit Graph

2275 Commits (d9b1876c2bff0e59606b7b67c7449d28e96901d6)
 

Author SHA1 Message Date
Brett Wooldridge cfe7a9c689 Update dependencies. 9 years ago
Brett Wooldridge f9d4f0dc3c Merge pull request #454 from nitincchauhan/dev
calling closedconnection.close() should not throw exception.
9 years ago
Nitin 0291741501 indentation 9 years ago
Nitin 12dbecd859 close should throw exception 9 years ago
Brett Wooldridge d61b9c524d Disable until it can be reproduced locally. 9 years ago
Brett Wooldridge e511d930fc Very strange that I cannot get this test to fail locally ... likely a speed difference with travis-ci. 9 years ago
Brett Wooldridge fa2c4aff3c Don't reassign delegate until after eviction. 9 years ago
Brett Wooldridge 686926241f Fix broken test. 9 years ago
Brett Wooldridge a6f2534f4a Merge pull request #458 from brettwooldridge/experimental
Fixes #452 fixed race condition in the add-connection path
9 years ago
Brett Wooldridge 33138b18f7 Fixes #452 fixed race condition in the add-connection path. 9 years ago
Brett Wooldridge eee453a873 Merge branch 'dev' into experimental 10 years ago
Nitin 11808e521c unused import 10 years ago
Nitin 17b7f00eb1 removed redundant call 10 years ago
Nitin 4186e325b7 do not reset catalog to null 10 years ago
Nitin 4f467b3d37 calling closedconnection.close() should not throw exception. 10 years ago
Brett Wooldridge 514d062853 Merge pull request #453 from nitincchauhan/dev
remove method calls from hot path and sleep in smaller steps
10 years ago
Brett Wooldridge ce71aa8dc7 Unit test for issue #451 10 years ago
Nitin 3218166f7d remove method calls from hot path and sleep in smaller steps 10 years ago
Brett Wooldridge 316629b72f Merge pull request #450 from nitincchauhan/dev
init 'other' vars too for proxy connection
10 years ago
Nitin 8c509f3837 calling methods back and forth is past for good :) 10 years ago
Nitin 216b3c0ac4 setting only readonly and autocommit 10 years ago
Nitin bcde774078 check readonly on rollback 10 years ago
Nitin 10b0547ab7 comment corrected 10 years ago
Nitin 63c0fcb893 removed unused method 10 years ago
Nitin b7c32b2bb2 Merge remote-tracking branch 'brett/dev' into dev 10 years ago
Nitin 87fa34af15 init 'other' vars too for proxy connection 10 years ago
Brett Wooldridge ba4b600db0 Merge pull request #449 from nitincchauhan/dev
final
10 years ago
Nitin 3bf2525262 Merge remote-tracking branch 'brett/dev' into dev 10 years ago
Brett Wooldridge e74639c418 Fix bug uncovered during live DB testing. If the database is autoCommit=true we were trying to rollback because ProxyConnection.isAutoCommit was never initialized to true. 10 years ago
Nitin dcd8fdb3a9 final 10 years ago
Brett Wooldridge 476180b0bc Merge pull request #448 from nitincchauhan/dev
using Throwable, better for backport too
10 years ago
Nitin 0218ed14b5 format 10 years ago
Nitin 1daf44b754 using Throwable, better for backport too 10 years ago
Brett Wooldridge b08f693d9c Merge pull request #446 from jack-kerouac/set-login-timeout-unsupported
do not fail if setLoginTimeout on delegate data source is not supported
10 years ago
Florian Rampp 678b2ce139 use multi-catch statement
I was not aware that this feature is available in JDK7 already and the README specifies that JDK7 is required only.
10 years ago
Brett Wooldridge 4e1aaa1802 Prepare for 2.4.2 release candidate. 10 years ago
Florian Rampp 8a7901f292 do not fail if setLoginTimeout on delegate data source is not supported
Some `DataSource` implementations (like [`BasicDataSource`](https://commons.apache.org/proper/commons-dbcp/api-1.4/org/apache/commons/dbcp/BasicDataSource.html) or [`DriverManagerDataSource`](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/datasource/DriverManagerDataSource.html) do not support setting a login timeout. `UnsupportedOperationException` is thrown in these cases.

When a delegate `dataSource` is set for the HikariCP, it tries to invoke this method on the delegate. Only log a warning in this case instead of failing to initialize the HikariCP in this case.

This is amongst others relevant for using HikariCP in Grails, which creates instances of `org.springframework.jdbc.datasource.DriverManagerDataSource` (at least in version 2.2.4).
10 years ago
Brett Wooldridge c0c6daf93d Fixed #401 log warning when both dataSourceClassName and jdbcUrl are specified. 10 years ago
Brett Wooldridge 23c1b80bfd Tighten bypass window. May tighten further to 250ms later. 10 years ago
Brett Wooldridge efa9726835 Adjust test timeout to try to address travis-ci transient failures. 10 years ago
Brett Wooldridge ea680f7ff5 Merge commit '49be257130ba7bc3080f5bc8a0f191db86f23394' into dev
* commit '49be257130ba7bc3080f5bc8a0f191db86f23394':
  commented log & added changes removed from old commit
  align log with 'Before cleanup'
10 years ago
Nitin 49be257130 commented log & added changes removed from old commit 10 years ago
Brett Wooldridge 716dd345cd Fixed issue with proxy generation 10 years ago
Nitin 0da14c8ce9 align log with 'Before cleanup' 10 years ago
Brett Wooldridge 19e0c5d575 Merge pull request #440 from nitincchauhan/dev
removed old call to close statements
10 years ago
Nitin 1c2f1c13a5 loop is required 10 years ago
Nitin c3482cde10 removed redundant loop, addItem() is actually adding itemS 10 years ago
Nitin f9d493a7d8 checking evict only when required 10 years ago
Nitin 285157c335 removed old call 10 years ago
Brett Wooldridge 5553fe5dcf Merge pull request #438 from nitincchauhan/dev
removed isClosed() check.
10 years ago