-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
flyway cannot find thin oracle driver in native mode #28915
Comments
/cc @cristhiank, @gastaldi, @geoand, @gsmet |
I should’ve added it to this reproducer but postgresql works fine. If I get a chance I will add it. |
@chrisruffalo Your reproducer is very fine (apart of typo in |
@chrisruffalo I almost forgot, you can work around the issue by registering OracleDriver with DriverManager at runtime till this is fixed in Quarkus. |
Describe the bug
reported by mail by @chrisruffalo, See reproducer at https://github.com/chrisruffalo/quarkus-native-oracle-otel-reproducer
Quarkus / Oracle / Flyway / Otel Issue Reproducer
Requirements
Testing
Running the application in dev mode with
mvn clean quarkus:dev -Dquarkus.profile=oracle
ormvn clean quarkus:dev -Dquarkus.profile=oracle-otel
will work and all connections will be madeusing dev services and the schema will be imported.
Compile to native with
mvn clean package -Pnative -Dquarkus.profile=native-oracle
and it will fail to start withthe following exception because it cannot connect to a database (expected):
Compile to native with
mvn clean package -Pnative -Dquarkus.profile=native-oracle-otel
and it will fail to startbut the exception will be that it cannot find the driver (not expected):
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: