Skip to content

Commit ef36b12

Browse files
marko-bekhtambellade
authored andcommitted
HHH-19827 Adjust image layout in the docs
1 parent f50275a commit ef36b12

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

documentation/src/main/asciidoc/topical/registries/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ the Service (actually both a pull and a push/injection approach are supported).
6969
hierarchical, meaning a ServiceRegistry can have a parent ServiceRegistry. Services in one registry can depend on
7070
and utilize services in that same registry as well as any parent registries.
7171

72-
image::registry_hierarchy.jpg[ServiceRegistry UML]
72+
image::registry_hierarchy.jpg[ServiceRegistry UML,align="center"]
7373

7474

7575
== ServiceBinding

documentation/src/main/asciidoc/userguide/chapters/architecture/Architecture.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[[architecture-overview]]
55
=== Overview
66

7-
image:images/architecture/data_access_layers.svg[Data Access Layers]
7+
image::images/architecture/data_access_layers.svg[Data Access Layers,align="center"]
88

99
Hibernate, as an ORM solution, effectively "sits between" the Java application data access layer and the Relational Database, as can be seen in the diagram above.
1010
The Java application makes use of the Hibernate APIs to load, store, query, etc. its domain data.
@@ -13,7 +13,7 @@ This will be a brief introduction; we will discuss these contracts in detail lat
1313

1414
As a Jakarta Persistence provider, Hibernate implements the Java Persistence API specifications and the association between Jakarta Persistence interfaces and Hibernate specific implementations can be visualized in the following diagram:
1515

16-
image:images/architecture/JPA_Hibernate.svg[image]
16+
image::images/architecture/JPA_Hibernate.svg[image,align="center"]
1717

1818
SessionFactory (`org.hibernate.SessionFactory`):: A thread-safe (and immutable) representation of the mapping of the application domain model to a database.
1919
Acts as a factory for `org.hibernate.Session` instances. The `EntityManagerFactory` is the Jakarta Persistence equivalent of a `SessionFactory` and basically, those two converge into the same `SessionFactory` implementation.

documentation/src/main/asciidoc/userguide/chapters/batch/Batching.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Dialect support through `org.hibernate.dialect.Dialect.getFallbackSqmMutationStr
328328

329329
Considering we have the following entities:
330330

331-
image:images/domain/bulkid/temp_table_class_diagram.png[Entity class diagram]
331+
image::images/domain/bulkid/temp_table_class_diagram.png[Entity class diagram,align="center"]
332332

333333
The `Person` entity is the base class of this entity inheritance model, and is mapped as follows:
334334

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Table per class:: Each subclass has its own table containing both the subclass a
1616

1717
In the following domain model class hierarchy, a `DebitAccount` and a `CreditAccount` share the same `Account` base class.
1818

19-
image:images/domain/inheritance/inheritance_class_diagram.svg[Inheritance class diagram]
19+
image::images/domain/inheritance/inheritance_class_diagram.svg[Inheritance class diagram,align="center"]
2020

2121
When using `MappedSuperclass`, the inheritance is visible in the domain model only, and each database table contains both the base class and the subclass properties.
2222

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ the database column that it maps to, we need to implicitly determine that column
4040
examples of the role of the `org.hibernate.boot.model.naming.ImplicitNamingStrategy` contract to
4141
determine a logical name when the mapping did not provide an explicit name.
4242

43-
image:images/domain/naming/implicit_naming_strategy_diagram.svg[Implicit Naming Strategy Diagram]
43+
image::images/domain/naming/implicit_naming_strategy_diagram.svg[Implicit Naming Strategy Diagram,align="center"]
4444

4545
Hibernate defines multiple ImplicitNamingStrategy implementations out-of-the-box. Applications
4646
are also free to plug in custom implementations.

documentation/src/main/asciidoc/userguide/chapters/multitenancy/MultiTenancy.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Such topics are beyond the scope of this documentation.
2727
[[multitenacy-separate-database]]
2828
==== Separate database
2929

30-
image:images/multitenancy/multitenacy_database.png[]
30+
image::images/multitenancy/multitenacy_database.png[align="center"]
3131

3232
Each tenant's data is kept in a physically separate database instance.
3333
JDBC Connections would point specifically to each database so any pooling would be per-tenant.
@@ -36,7 +36,7 @@ A general application approach, here, would be to define a JDBC Connection pool
3636
[[multitenacy-separate-schema]]
3737
==== Separate schema
3838

39-
image:images/multitenancy/multitenacy_schema.png[]
39+
image::images/multitenancy/multitenacy_schema.png[align="center"]
4040

4141
Each tenant's data is kept in a distinct database schema on a single database instance.
4242
There are two different ways to define JDBC Connections here:
@@ -50,7 +50,7 @@ Using this approach, we would have a single JDBC Connection pool for use to serv
5050
[[multitenacy-discriminator]]
5151
==== Partitioned (discriminator) data
5252

53-
image:images/multitenancy/multitenacy_discriminator.png[]
53+
image::images/multitenancy/multitenacy_discriminator.png[align="center"]
5454

5555
All data is kept in a single database schema.
5656
The data for each tenant is partitioned by the use of partition value or discriminator.

0 commit comments

Comments
 (0)