Use HikariConfig as a builder for creating the auto-configured HikariDataSource
See original GitHub issueSee https://github.com/brettwooldridge/HikariCP/issues/1096 for some background. We’ll get a small performance boost in getConnection()
and it’ll also align us with the ideal usage of Hikari where the configuration is created and customised and then, once that’s complete, it’s used to create a HikariDataSource
. The HikariDataSource
then doesn’t change (other than what’s supported by Hikari’s JMX integration).
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
java - How do I configure HikariCP in my Spring Boot app in ...
This is equivalent to using the HikariConfig class. To configure the datasource and hikaricp connection pool for mysql specific properties I ...
Read more >org.springframework.boot.autoconfigure ... - ProgramCreek.com
This page shows Java code examples of org.springframework.boot.autoconfigure.jdbc.DataSourceProperties#getPassword.
Read more >java.lang.IllegalArgumentException: jdbcUrl is required with ...
Hikari is used to create datasources for which the database url could not be found using the database credentials. The Hikari jdbc driver...
Read more >Using HikariCP connection pool - ZetCode
In this tutorial, we show how to set up HikariCP in a Java console and ... We use the database properties to create...
Read more >com.zaxxer.hikari.HikariDataSource.setPoolName java code ...
Best Java code snippets using com.zaxxer.hikari.HikariDataSource. ... create a hikari data source * @see org.springframework.boot.autoconfigure.jdbc.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This should be low risk and it’d future-proof our Hikari auto-configuration. I think we should consider doing this in 2.0.
@kjhok1811 please review the guidelines for contributing, and ask questions on StackOverflow.