You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _guides/hibernate-orm.adoc
+8-19Lines changed: 8 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ They will often map to Hibernate ORM configuration properties but could have dif
100
100
101
101
Also, Quarkus will set many Hibernate ORM configuration settings automatically, and will often use more modern defaults.
102
102
103
-
For a list of the items that you can set in `{config-file}`, see <<hibernate-configuration-properties,Hibernate ORM configuration properties>>.
103
+
For a list of the items that you can set in `{config-file}`, see <<configuration-reference>>.
104
104
105
105
An `EntityManagerFactory` will be created based on the Quarkus `datasource` configuration as long as the Hibernate ORM extension is listed among your project dependencies.
106
106
@@ -295,9 +295,7 @@ There are no required properties, as long as a default datasource is configured.
295
295
When no property is set, Quarkus can typically infer everything it needs to set up Hibernate ORM
296
296
and will have it use the default datasource.
297
297
298
-
The configuration properties listed here allow you to override such defaults, and customize and tune various aspects.
Copy file name to clipboardExpand all lines: _guides/hibernate-reactive.adoc
+15-19Lines changed: 15 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ Blocking (non-reactive) and reactive configuration xref:orm-and-reactive-extensi
116
116
117
117
WARNING: Configuring Hibernate Reactive using the standard `persistence.xml` configuration file is not supported.
118
118
119
-
See section <<hr-configuration-properties,Hibernate Reactive configuration properties>> for the list of properties you can set in `{config-file}`.
119
+
See section <<configuration-reference>> for the list of properties you can set in `{config-file}`.
120
120
121
121
A `Mutiny.SessionFactory` will be created based on the Quarkus `datasource` configuration as long as the Hibernate Reactive extension is listed among your project dependencies.
122
122
@@ -193,24 +193,7 @@ and will have it use the default datasource.
193
193
194
194
The configuration properties listed here allow you to override such defaults, and customize and tune various aspects.
195
195
196
-
Hibernate Reactive uses the same properties you would use for Hibernate ORM. You will notice that some properties
197
-
contain `jdbc` in the name but there is no JDBC in Hibernate Reactive, these are simply legacy property names.
This will start a non-durable empty database: ideal for a quick experiment!
213
-
====
196
+
Hibernate Reactive uses the same properties you would use for Hibernate ORM: see <<configuration-reference>>.
214
197
215
198
[[orm-and-reactive-extension-simultaneously]]
216
199
=== Hibernate ORM and Reactive extensions simultaneously
@@ -428,3 +411,16 @@ by providing active record style entities (and repositories) and focuses on maki
428
411
To find out more on how the <<quarkus-hibernate-orm_quarkus-hibernate-orm-validation-mode,`quarkus.hibernate-orm.validation.mode` configuration property>>.
429
412
influence your Hibernate Reactive application see the xref:hibernate-orm.adoc#validator_integration[corresponding Hibernate ORM guide],
430
413
as these modes work the same in both cases.
414
+
415
+
[[configuration-reference]]
416
+
== Configuration Reference for Hibernate Reactive
417
+
418
+
[TIP]
419
+
====
420
+
You will notice that some properties
421
+
contain "jdbc" in their name: this is because Hibernate ORM refers to its "data access" layer as "JDBC" for historical reasons. Hibernate Reactive uses Vert.x Reactive SQL clients for its data access layer rather than JDBC.
422
+
423
+
Regardless of their name, these properties still make sense for Hibernate Reactive.
<1> Having this configuration means that all requests performed using `org.acme.rest.client.ExtensionsService` will use `https://stage.code.quarkus.io/api` as the base URL.
@@ -1334,7 +1334,7 @@ Alternatively, you can implement the `ResteasyReactiveClientRequestFilter` inter
1334
1334
public class TestClientRequestFilter implements ResteasyReactiveClientRequestFilter {
1335
1335
1336
1336
@Override
1337
-
public void filter(ResteasyReactiveClientRequestFilter requestContext) {
1337
+
public void filter(ResteasyReactiveClientRequestContext requestContext) {
Copy file name to clipboardExpand all lines: _guides/security-oidc-expanded-configuration.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1312,6 +1312,10 @@ According to the https://datatracker.ietf.org/doc/rfc9728/[OAuth2 Protected Reso
1312
1312
1313
1313
If it is configured as a relative path then it is added to the current request URL's host and port to build a resource identifier URL. If it is not configured at all then, unless it is a default tenant id, the tenand id is added to the current request URL's host and port to build a resource identifier URL.
1314
1314
1315
+
By default, when no `quarkus.oidc.resource-metadata.resource` is configured, a protected resource metadata route is available at a `/.well-known/oauth-protected-resource` relative address.
1316
+
1317
+
Setting `quarkus.oidc.resource-metadata.resource` to a relative value impacts the protected resource metadata route's address. For example, setting `quarkus.oidc.resource-metadata.resource=resource` for a default OIDC tenant makes its protected resource metadata route available at `/.well-known/oauth-protected-resource/resource`.
1318
+
1315
1319
The resource identifier URL scheme is set to `HTTPS` by default. You can enable an `HTTP` URL scheme with `quarkus.oidc.resource-metadata.force-https-scheme=false`, it can be particularly useful in simple demos and tests.
1316
1320
1317
1321
`quarkus.oidc.resource-metadata.authorization-server` allows to customize an authorization server URL that will be included in the resource metadata. The `quarkus.oidc.auth-server-url` URL is included by default, however, for some cases where an OIDC proxy interposes over the actual OIDC provider, returning the OIDC proxy's URL is required instead.
0 commit comments