Commit Graph

1982 Commits (792374ecba47dbaa6a48e46d52a01612a5942400)
 

Author SHA1 Message Date
Nitin 792374ecba commit initSql if isIsolateInternalQueries is also true 9 years ago
Brett Wooldridge d1f26a9346 Merge pull request #459 from nitincchauhan/dev
removed check (claimed != null) from hotpath
9 years ago
Nitin 81a784fb68 static import 9 years ago
Nitin 5ac346be79 removed check (claimed != null) from hotpath 9 years ago
Brett Wooldridge aa06e6d26d Disabling still broken test. Maybe a rewrite is called for. 9 years ago
Brett Wooldridge 5b0336255d Disabling still broken test. Maybe a rewrite is called for. 9 years ago
Brett Wooldridge 4d54c8f1d5 Update change log. Try re-enabling TestConnectionCloseBlocking test. 9 years ago
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 9 years ago
Nitin 11808e521c unused import 9 years ago
Nitin 17b7f00eb1 removed redundant call 9 years ago
Nitin 4186e325b7 do not reset catalog to null 9 years ago
Nitin 4f467b3d37 calling closedconnection.close() should not throw exception. 9 years ago
Brett Wooldridge 514d062853 Merge pull request #453 from nitincchauhan/dev
remove method calls from hot path and sleep in smaller steps
9 years ago
Brett Wooldridge ce71aa8dc7 Unit test for issue #451 9 years ago
Nitin 3218166f7d remove method calls from hot path and sleep in smaller steps 9 years ago
Brett Wooldridge 316629b72f Merge pull request #450 from nitincchauhan/dev
init 'other' vars too for proxy connection
9 years ago
Nitin 8c509f3837 calling methods back and forth is past for good :) 9 years ago
Nitin 216b3c0ac4 setting only readonly and autocommit 9 years ago
Nitin bcde774078 check readonly on rollback 9 years ago
Nitin 10b0547ab7 comment corrected 9 years ago
Nitin 63c0fcb893 removed unused method 9 years ago
Nitin b7c32b2bb2 Merge remote-tracking branch 'brett/dev' into dev 9 years ago
Nitin 87fa34af15 init 'other' vars too for proxy connection 9 years ago
Brett Wooldridge ba4b600db0 Merge pull request #449 from nitincchauhan/dev
final
9 years ago
Nitin 3bf2525262 Merge remote-tracking branch 'brett/dev' into dev 9 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. 9 years ago
Nitin dcd8fdb3a9 final 9 years ago
Brett Wooldridge 476180b0bc Merge pull request #448 from nitincchauhan/dev
using Throwable, better for backport too
9 years ago
Nitin 0218ed14b5 format 9 years ago
Nitin 1daf44b754 using Throwable, better for backport too 9 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
9 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.
9 years ago
Brett Wooldridge 4e1aaa1802 Prepare for 2.4.2 release candidate. 9 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).
9 years ago
Brett Wooldridge c0c6daf93d Fixed #401 log warning when both dataSourceClassName and jdbcUrl are specified. 9 years ago
Brett Wooldridge 23c1b80bfd Tighten bypass window. May tighten further to 250ms later. 9 years ago
Brett Wooldridge efa9726835 Adjust test timeout to try to address travis-ci transient failures. 9 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'
9 years ago
Nitin 49be257130 commented log & added changes removed from old commit 9 years ago
Brett Wooldridge 716dd345cd Fixed issue with proxy generation 9 years ago