HikariCP
HikariCP copied to clipboard
Added Support For beginRequest and endRequest (new version)
Continued work from pull request https://github.com/brettwooldridge/HikariCP/pull/2079. Addressed review comments https://github.com/brettwooldridge/HikariCP/pull/2079#discussion_r1367934838 and added tests.
Given that this is a Java 11+ version of HikariCP and that request boundaries (Connection.beginRequest() and Connection.endRequest()) are present since Java 9, I have removed the check for JDBC version. I have added a property that allows to explicitly enable request boundaries. Calls to Connection.beginRequest() and Connection.endRequest() have been moved to HikariPool.getConnection and HikariPool.recycle respectively.
@lfbayer Can you please review my latest changes to this pull request ?
@lfbayer could you please review this request? Thank you!
Hi @lfbayer any update on the merge? Thanks!