Full Maven coordinates
com.zaxxer:HikariCP:7.0.2
Additional context and logs
The methods in HikariConfig and CodahaleHealthChecker should be exposed, otherwise errors such as the one below will occur:
Caused by: org.graalvm.nativeimage.MissingReflectionRegistrationError: Cannot reflectively invoke method 'public void com.zaxxer.hikari.HikariConfig.setPassword(java.lang.String)'. To allow this operation, add the following to the 'reflection' section of 'reachability-metadata.json' and rebuild the native image:
{
"type": "com.zaxxer.hikari.HikariConfig",
"methods": [
{
"name": "setPassword",
"parameterTypes": [
"java.lang.String"
]
}
]
}
It looks like java.util.UUID[].class also needs to be registered for Hikari to work
GraalVM version
GraalVM 25.0.2
Operating system
Linux
CPU architecture
AMD64 (x86-64)
Full Maven coordinates
com.zaxxer:HikariCP:7.0.2
Additional context and logs
The methods in
HikariConfigandCodahaleHealthCheckershould be exposed, otherwise errors such as the one below will occur:It looks like
java.util.UUID[].classalso needs to be registered for Hikari to workGraalVM version
GraalVM 25.0.2
Operating system
Linux
CPU architecture
AMD64 (x86-64)