Skip to content

Commit bc5e9fa

Browse files
marko-bekhtambellade
authored andcommitted
HHH-19603 Update the links to Configurations.adoc in the reference guide
1 parent fd38b0e commit bc5e9fa

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

documentation/src/main/asciidoc/userguide/chapters/domain/basic_types.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ include::{example-dir-basic-mapping}/basic/InetAddressMappingTests.java[tags=bas
13561356
Hibernate will only use the `JSON` type if explicitly configured through `@JdbcTypeCode( SqlTypes.JSON )`.
13571357
The JSON library used for serialization/deserialization is detected automatically,
13581358
but can be overridden by setting `hibernate.type.json_format_mapper`
1359-
as can be read in the <<appendices/Configurations.adoc#misc-options,Configurations>> section.
1359+
as can be read in the <<appendices/SettingsReference.adoc#settings-hibernate.type.json_format_mapper,Configurations>> section.
13601360

13611361
[[basic-json-example]]
13621362
.Mapping JSON
@@ -1373,7 +1373,7 @@ include::{example-dir-basic-mapping}/basic/JsonMappingTests.java[tags=basic-json
13731373
Hibernate will only use the `XML` type if explicitly configured through `@JdbcTypeCode( SqlTypes.SQLXML )`.
13741374
The XML library used for serialization/deserialization is detected automatically,
13751375
but can be overridden by setting `hibernate.type.xml_format_mapper`
1376-
as can be read in the <<appendices/Configurations.adoc#misc-options,Configurations>> section.
1376+
as can be read in the <<appendices/SettingsReference.adoc#settings-hibernate.type.xml_format_mapper,Configurations>> section.
13771377

13781378
[[basic-xml-example]]
13791379
.Mapping XML
@@ -2425,7 +2425,7 @@ include::{extrasdir}/basic/basic-auto-quoting-persistence-example.sql[indent=0]
24252425

24262426
As you can see, both the table name and all the column have been quoted.
24272427

2428-
For more about quoting-related configuration properties, check out the <<appendices/Configurations.adoc#configurations-mapping,Mapping configurations>> section as well.
2428+
For more about quoting-related configuration properties, check out the <<appendices/SettingsReference.adoc#settings-mapping,Mapping configurations>> section as well.
24292429

24302430

24312431

documentation/src/main/asciidoc/userguide/chapters/jdbc/Database_Access.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Otherwise, the no-arg form is used.
4242
=== Driver Configuration
4343
`hibernate.connection.driver_class`:: The name of the JDBC Driver class to use
4444
`hibernate.connection.url`:: The JDBC connection url
45-
`hibernate.connection.*`:: All such setting names (except the <<appendices/Configurations.adoc#configurations-database-connection,predefined ones>>) will have the `hibernate.connection.` prefix stripped. The remaining name and the original value will be passed to the driver as a JDBC connection property
45+
`hibernate.connection.*`:: All such setting names (except the <<appendices/SettingsReference.adoc#settings-hibernate.connection,predefined ones>>) will have the `hibernate.connection.` prefix stripped. The remaining name and the original value will be passed to the driver as a JDBC connection property
4646

4747
NOTE: Not all properties apply to all situations. For example, if you are providing a data source, `hibernate.connection.driver_class` setting will not be used.
4848

@@ -155,7 +155,7 @@ The `Connection` will be acquired as soon as it is needed and will be released a
155155
The `Connection` will be acquired as soon as it is needed and will be released after each transaction is completed.
156156

157157
If you don't want to use the default connection handling mode, you can specify a connection handling mode via the `hibernate.connection.handling_mode` configuration property. For more details, check out the
158-
<<appendices/Configurations.adoc#configurations-database-connection,Database connection properties>> section.
158+
<<appendices/SettingsReference.adoc#settings-jdbc,Database connection properties>> section.
159159

160160
==== Transaction type and connection handling
161161

@@ -206,4 +206,4 @@ Hibernate abstracts over variations between dialects of SQL via the class `org.h
206206
- Additional community-supported ``Dialect``s are available in the separate module `hibernate-community-dialects`.
207207

208208
In Hibernate 6, it's no longer necessary to explicitly specify a dialect using the configuration property `hibernate.dialect`, and so setting that property is now discouraged.
209-
(An exception is the case of custom user-written ``Dialect``s.)
209+
(An exception is the case of custom user-written ``Dialect``s.)

documentation/src/main/asciidoc/userguide/chapters/pc/PersistenceContext.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,8 +1409,4 @@ Starting with Hibernate 5.2, the Hibernate `Session` extends the Jakarta Persist
14091409
the `HibernateException` or `SQLException` can be wrapped in a Jakarta Persistence {jpaJavadocUrlPrefix}PersistenceException.html[`PersistenceException`] when thrown
14101410
by `Session` methods that implement `EntityManager` methods (e.g., https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/Session.html#merge-java.lang.Object-[Session.merge(Object object)],
14111411
https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/Session.html#flush--[Session.flush()]).
1412-
1413-
If your `SessionFactory` is built via Hibernate's native bootstrapping, and you don't want the Hibernate exceptions to be wrapped in the Jakarta Persistence `PersistenceException`, you need to set the
1414-
`hibernate.native_exception_handling_51_compliance` configuration property to `true`. See the
1415-
<<appendices/Configurations.adoc#configurations-exception-handling,`hibernate.native_exception_handling_51_compliance`>> configuration property for more details.
14161412
====

documentation/src/main/asciidoc/userguide/chapters/schema/Schema.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ it's much more flexible to manage the schema using incremental migration scripts
1515
====
1616

1717
Traditionally, the process of generating schema from entity mapping has been called `HBM2DDL`.
18-
To get a list of Hibernate-native and Jakarta Persistence-specific configuration properties consider reading the <<appendices/Configurations.adoc#configurations-hbmddl,Configurations>> section.
18+
To get a list of Hibernate-native and Jakarta Persistence-specific configuration properties consider reading the <<appendices/SettingsReference.adoc#settings-schema,Configurations>> section.
1919

2020
Considering the following Domain Model:
2121

0 commit comments

Comments
 (0)