question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use HikariConfig as a builder for creating the auto-configured HikariDataSource

See original GitHub issue

See 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:open
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
wilkinsonacommented, Feb 22, 2018

This should be low risk and it’d future-proof our Hikari auto-configuration. I think we should consider doing this in 2.0.

0reactions
snicollcommented, Feb 2, 2022

@kjhok1811 please review the guidelines for contributing, and ask questions on StackOverflow.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found