Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more metadata for com.zaxxer:HikariCP:5.0.1 #272

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

msupic
Copy link
Contributor

@msupic msupic commented Apr 19, 2023

What does this PR do?

Adds more metadata for com.zaxxer:HikariCP:5.0.1

@msupic msupic requested a review from a team as a code owner April 19, 2023 12:16
@msupic msupic requested a review from dnestoro April 19, 2023 12:16
@@ -171,6 +171,10 @@
"name": "getDriverClassName",
"parameterTypes": []
},
{
"name": "getExceptionOverrideClassName",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there are no new tests provided in this PR, where do these entries come from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the following change:
<logger name="com.zaxxer.hikari.HikariConfig" level="DEBUG"/>

The logConfiguration method from HikariConfig tries to load all properties using reflection and if there are no these additional metadata entries, the hikari connection pool fails in a native image.

@dnestoro dnestoro merged commit 664c029 into master Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants