forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need to register a few more classes for reflection and also all their nested classes, which is why I use `@RegisterForReflection` instead of the usual build item. Fixes quarkusio#23341
- Loading branch information
1 parent
3f5a5ca
commit 65fbce0
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...-oracle/runtime/src/main/java/io/quarkus/jdbc/oracle/runtime/graal/OracleReflections.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.quarkus.jdbc.oracle.runtime.graal; | ||
|
||
import io.quarkus.runtime.annotations.RegisterForReflection; | ||
|
||
/** | ||
* We don't use a build item here as we also need to register all the nested classes and there's no way to do it easily with the | ||
* build item for now. | ||
*/ | ||
@RegisterForReflection(targets = { oracle.jdbc.xa.OracleXADataSource.class, | ||
oracle.jdbc.datasource.impl.OracleDataSource.class }) | ||
public class OracleReflections { | ||
|
||
} |