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: docs/src/main/asciidoc/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: docs/src/main/asciidoc/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
@@ -446,3 +429,16 @@ by providing active record style entities (and repositories) and focuses on maki
446
429
To find out more on how the <<quarkus-hibernate-orm_quarkus-hibernate-orm-validation-mode,`quarkus.hibernate-orm.validation.mode` configuration property>>.
447
430
influence your Hibernate Reactive application see the xref:hibernate-orm.adoc#validator_integration[corresponding Hibernate ORM guide],
448
431
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.
0 commit comments