Replies: 1 comment
-
If You today need dynamic loading you need non-native. No way around it. If you insist on having one native image being able to support multiple databases you need to build all the drivers into the native image and declare multiple data sources with all the db types listed. You native image will be big and compile times high and you'll need to rebuild to do updates to the libraries. So yes it's possible but you'll have to consider if it is worth it for your case. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a k8s operator that needs to be able to use JDBC from included drivers (MySQL, MariaDB, SQL Server, etc) with arbitrary URLs and credentials. I found https://quarkus.io/guides/datasource, but this won't match my needs. I built a very simple command line POC that connects to a db and runs a query using typical JDBC:
when I run
./mvnw quarkus:dev
, this works as expected. When I compile to a native executable, I getI know there are constraints on how dynamic native executables can be. is what I'm trying to do possible with native?
Thanks
Marc
Beta Was this translation helpful? Give feedback.
All reactions