Skip to content

Commit 50ac163

Browse files
committed
Sync documentation of main branch
1 parent abd32e2 commit 50ac163

File tree

7 files changed

+50
-42
lines changed

7 files changed

+50
-42
lines changed

_generated-doc/main/config/quarkus-all-config.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86728,7 +86728,11 @@ endif::add-copy-button-to-config-props[]
8672886728

8672986729
[.description]
8673086730
--
86731-
If set to `true`, then this REST Client will not the default exception mapper which always throws an exception if HTTP response code >= 400. This property is not applicable to the RESTEasy Client.
86731+
If set to `true`, then this REST Client will not the default exception mapper which always throws an exception if HTTP response code >= 400.
86732+
86733+
This property is only taken into account if the REST Client returns `jakarta.ws.rs.core.Response` or `org.jboss.resteasy.reactive.RestResponse`
86734+
86735+
This property is not applicable to the RESTEasy Client.
8673286736

8673386737

8673486738
ifdef::add-copy-button-to-env-var[]

_generated-doc/main/config/quarkus-rest-client-config.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,11 @@ endif::add-copy-button-to-config-props[]
18031803

18041804
[.description]
18051805
--
1806-
If set to `true`, then this REST Client will not the default exception mapper which always throws an exception if HTTP response code >= 400. This property is not applicable to the RESTEasy Client.
1806+
If set to `true`, then this REST Client will not the default exception mapper which always throws an exception if HTTP response code >= 400.
1807+
1808+
This property is only taken into account if the REST Client returns `jakarta.ws.rs.core.Response` or `org.jboss.resteasy.reactive.RestResponse`
1809+
1810+
This property is not applicable to the RESTEasy Client.
18071811

18081812

18091813
ifdef::add-copy-button-to-env-var[]

_generated-doc/main/config/quarkus-rest-client-config_quarkus.rest-client.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,11 @@ endif::add-copy-button-to-config-props[]
18031803

18041804
[.description]
18051805
--
1806-
If set to `true`, then this REST Client will not the default exception mapper which always throws an exception if HTTP response code >= 400. This property is not applicable to the RESTEasy Client.
1806+
If set to `true`, then this REST Client will not the default exception mapper which always throws an exception if HTTP response code >= 400.
1807+
1808+
This property is only taken into account if the REST Client returns `jakarta.ws.rs.core.Response` or `org.jboss.resteasy.reactive.RestResponse`
1809+
1810+
This property is not applicable to the RESTEasy Client.
18071811

18081812

18091813
ifdef::add-copy-button-to-env-var[]

_generated-doc/main/infra/quarkus-all-build-items.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8767,6 +8767,17 @@ _No Javadoc found_
87678767

87688768

87698769

8770+
a| https://github.com/quarkusio/quarkus/blob/main/extensions/security/spi/src/main/java/io/quarkus/security/spi/CurrentIdentityAssociationClassBuildItem.java[`io.quarkus.security.spi.CurrentIdentityAssociationClassBuildItem`, window="_blank"]
8771+
[.description]
8772+
--
8773+
Allows Quarkus core extensions to provide a `io.quarkus.security.identity.CurrentIdentityAssociation` implementation. This bean is used to synchronize the association produced by Quarkus core extensions and can change if needed. Other extensions and users can simply define alternative `io.quarkus.security.identity.CurrentIdentityAssociation` CDI bean.
8774+
-- a|`java.lang.Class<? extends CurrentIdentityAssociation> currentIdentityAssociationClass`
8775+
8776+
_No Javadoc found_
8777+
8778+
8779+
8780+
87708781
a| https://github.com/quarkusio/quarkus/blob/main/extensions/security/spi/src/main/java/io/quarkus/security/spi/DefaultSecurityCheckBuildItem.java[`io.quarkus.security.spi.DefaultSecurityCheckBuildItem`, window="_blank"]
87718782
[.description]
87728783
--

_versions/main/guides/hibernate-orm.adoc

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ They will often map to Hibernate ORM configuration properties but could have dif
100100

101101
Also, Quarkus will set many Hibernate ORM configuration settings automatically, and will often use more modern defaults.
102102

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>>.
104104

105105
An `EntityManagerFactory` will be created based on the Quarkus `datasource` configuration as long as the Hibernate ORM extension is listed among your project dependencies.
106106

@@ -295,9 +295,7 @@ There are no required properties, as long as a default datasource is configured.
295295
When no property is set, Quarkus can typically infer everything it needs to set up Hibernate ORM
296296
and will have it use the default datasource.
297297

298-
The configuration properties listed here allow you to override such defaults, and customize and tune various aspects.
299-
300-
include::{generated-dir}/config/quarkus-hibernate-orm.adoc[opts=optional, leveloffset=+2]
298+
The configuration properties listed in <<configuration-reference>> allow you to override such defaults, and customize and tune various aspects.
301299

302300
[NOTE]
303301
====
@@ -314,20 +312,6 @@ quarkus.hibernate-orm.persistence-xml.ignore=true
314312
----
315313
====
316314

317-
[TIP]
318-
====
319-
Want to start a PostgreSQL server on the side with Docker?
320-
321-
[source,bash]
322-
----
323-
docker run --rm=true --name postgres-quarkus-hibernate -e POSTGRES_USER=hibernate \
324-
-e POSTGRES_PASSWORD=hibernate -e POSTGRES_DB=hibernate_db \
325-
-p 5432:5432 postgres:14.1
326-
----
327-
328-
This will start a non-durable empty database: ideal for a quick experiment!
329-
====
330-
331315
[[multiple-persistence-units]]
332316
=== Multiple persistence units
333317

@@ -961,7 +945,7 @@ quarkus.hibernate-orm."offline".dialect.mariadb.bytes-per-character=1
961945
quarkus.hibernate-orm."offline".dialect.mariadb.no-backslash-escapes=true
962946
----
963947

964-
Refer to the <<hibernate-configuration-properties,Hibernate ORM configuration properties>> section for more details on the available properties.
948+
Refer to the <<configuration-reference>> section for more details on the available properties.
965949

966950

967951
[[caching]]
@@ -1949,3 +1933,8 @@ to learn more about the `dataStore` attribute.
19491933
Please refer to the corresponding https://hibernate.org/repositories/[Hibernate Data Repositories]
19501934
and https://jakarta.ee/specifications/data/1.0/jakarta-data-1.0[Jakarta Data]
19511935
guides to learn what else they have to offer.
1936+
1937+
[[configuration-reference]]
1938+
== Configuration Reference for Hibernate ORM
1939+
1940+
include::{generated-dir}/config/quarkus-hibernate-orm.adoc[opts=optional, leveloffset=+2]

_versions/main/guides/hibernate-reactive.adoc

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Blocking (non-reactive) and reactive configuration xref:orm-and-reactive-extensi
116116

117117
WARNING: Configuring Hibernate Reactive using the standard `persistence.xml` configuration file is not supported.
118118

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}`.
120120

121121
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.
122122

@@ -193,24 +193,7 @@ and will have it use the default datasource.
193193

194194
The configuration properties listed here allow you to override such defaults, and customize and tune various aspects.
195195

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.
198-
199-
include::{generated-dir}/config/quarkus-hibernate-orm.adoc[opts=optional, leveloffset=+2]
200-
201-
[TIP]
202-
====
203-
Want to start a PostgreSQL server on the side with Docker?
204-
205-
[source,bash]
206-
----
207-
docker run --rm --name postgres-quarkus-hibernate -e POSTGRES_USER=quarkus_test \
208-
-e POSTGRES_PASSWORD=quarkus_test -e POSTGRES_DB=quarkus_test \
209-
-p 5432:5432 postgres:14.1
210-
----
211-
212-
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>>.
214197

215198
[[orm-and-reactive-extension-simultaneously]]
216199
=== Hibernate ORM and Reactive extensions simultaneously
@@ -446,3 +429,16 @@ by providing active record style entities (and repositories) and focuses on maki
446429
To find out more on how the <<quarkus-hibernate-orm_quarkus-hibernate-orm-validation-mode,`quarkus.hibernate-orm.validation.mode` configuration property>>.
447430
influence your Hibernate Reactive application see the xref:hibernate-orm.adoc#validator_integration[corresponding Hibernate ORM guide],
448431
as these modes work the same in both cases.
432+
433+
[[configuration-reference]]
434+
== Configuration Reference for Hibernate Reactive
435+
436+
[TIP]
437+
====
438+
You will notice that some properties
439+
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.
440+
441+
Regardless of their name, these properties still make sense for Hibernate Reactive.
442+
====
443+
444+
include::{generated-dir}/config/quarkus-hibernate-orm.adoc[opts=optional, leveloffset=+2]

_versions/main/guides/rest-client.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ Alternatively, you can implement the `ResteasyReactiveClientRequestFilter` inter
13341334
public class TestClientRequestFilter implements ResteasyReactiveClientRequestFilter {
13351335
13361336
@Override
1337-
public void filter(ResteasyReactiveClientRequestFilter requestContext) {
1337+
public void filter(ResteasyReactiveClientRequestContext requestContext) {
13381338
Providers providers = requestContext.getProviders();
13391339
// ...
13401340
}

0 commit comments

Comments
 (0)