Skip to content

Commit

Permalink
Add comment about runtime initializing class for google cloud SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkak committed Nov 27, 2023
1 parent 65f160f commit d89dcd6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _guides/deploying-to-google-cloud.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,15 @@ quarkus.vertx.prefer-native-transport=true

WARNING: This only works when your application is running inside a Google Cloud managed runtime like App Engine.

=== Using Cloud SQL with native executables

When using native executables, you also need to mark `jnr.ffi.provider.jffi.NativeFinalizer$SingletonHolder` as runtime initialized.

[source,bash]
----
quarkus.native.additional-build-args=--initialize-at-run-time=jnr.ffi.provider.jffi.NativeFinalizer$SingletonHolder
----

== Going further

You can find a set of extensions to access various Google Cloud Services in the Quarkiverse (a GitHub organization for Quarkus extensions maintained by the community),
Expand Down

0 comments on commit d89dcd6

Please sign in to comment.