Skip to content

Commit d7c6c6a

Browse files
committed
add more links to Short Guide
1 parent a65e301 commit d7c6c6a

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

documentation/src/main/asciidoc/introduction/Advanced.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ To make use of multi-tenancy, we'll usually need to set at least one of these co
316316
|===
317317
| Configuration property name | Purpose
318318

319-
| `hibernate.tenant_identifier_resolver` | Specifies the `CurrentTenantIdentifierResolver`
320-
| `hibernate.multi_tenant_connection_provider` | Specifies the `MultiTenantConnectionProvider`
319+
| link:{doc-javadoc-url}org/hibernate/cfg/MultiTenancySettings.html#MULTI_TENANT_IDENTIFIER_RESOLVER[`hibernate.tenant_identifier_resolver`] | Specifies the `CurrentTenantIdentifierResolver`
320+
| link:{doc-javadoc-url}org/hibernate/cfg/MultiTenancySettings.html#MULTI_TENANT_CONNECTION_PROVIDER[`hibernate.multi_tenant_connection_provider`] | Specifies the `MultiTenantConnectionProvider`
321321
|===
322322

323323
Do not configure those properties if you would like the configured `BeanContainer` provide the implementation.
@@ -467,7 +467,7 @@ Furthermore, the link:{doc-javadoc-url}org/hibernate/annotations/ValueGeneration
467467
// .The older APIs are still available in Hibernate 6
468468
====
469469
These APIs were new in Hibernate 6, and supersede the classic `IdentifierGenerator` interface and `@GenericGenerator` annotation from older versions of Hibernate.
470-
However, the older APIs are still available and custom ``IdentifierGenerator``s written for older versions of Hibernate continue to work in Hibernate 6.
470+
However, the older APIs are still available and custom ``IdentifierGenerator``s written for older versions of Hibernate continue to work in Hibernate 7.
471471
====
472472

473473
Hibernate has a range of built-in generators which are defined in terms of this new framework.
@@ -477,12 +477,12 @@ Hibernate has a range of built-in generators which are defined in terms of this
477477
|===
478478
| Annotation | Implementation | Purpose
479479

480-
| `@Generated` | `GeneratedGeneration` | Generically handles database-generated values
481-
| `@GeneratedColumn` | `GeneratedAlwaysGeneration` | Handles values generated using `generated always`
482-
| `@CurrentTimestamp` | `CurrentTimestampGeneration` | Generic support for database or in-memory generation of creation or update timestamps
483-
| `@CreationTimestamp` | `CurrentTimestampGeneration` | A timestamp generated when an entity is first made persistent
484-
| `@UpdateTimestamp` | `CurrentTimestampGeneration` | A timestamp generated when an entity is made persistent, and regenerated every time the entity is modified
485-
| `@UuidGenerator` | `UuidGenerator` | A more flexible generator for RFC 4122 UUIDs
480+
| link:{doc-javadoc-url}org/hibernate/annotations/Generated.html[`@Generated`] | `GeneratedGeneration` | Generically handles database-generated values
481+
| link:{doc-javadoc-url}org/hibernate/annotations/GeneratedColumn.html[`@GeneratedColumn`] | `GeneratedAlwaysGeneration` | Handles values generated using `generated always`
482+
| link:{doc-javadoc-url}org/hibernate/annotations/CurrentTimestamp.html[`@CurrentTimestamp`] | `CurrentTimestampGeneration` | Generic support for database or in-memory generation of creation or update timestamps
483+
| link:{doc-javadoc-url}org/hibernate/annotations/CreationTimestamp.html[`@CreationTimestamp`] | `CurrentTimestampGeneration` | A timestamp generated when an entity is first made persistent
484+
| link:{doc-javadoc-url}org/hibernate/annotations/UpdateTimestamp.html[`@UpdateTimestamp`] | `CurrentTimestampGeneration` | A timestamp generated when an entity is made persistent, and regenerated every time the entity is modified
485+
| link:{doc-javadoc-url}org/hibernate/annotations/UuidGenerator.html[`@UuidGenerator`] | `UuidGenerator` | A more flexible generator for RFC 4122 UUIDs
486486
|===
487487

488488
Furthermore, support for JPA's standard id generation strategies is also defined in terms of this framework.
@@ -595,8 +595,8 @@ Custom naming strategies may be enabled using the configuration properties we al
595595
|===
596596
| Configuration property name | Purpose
597597

598-
| `hibernate.implicit_naming_strategy` | Specifies the `ImplicitNamingStrategy`
599-
| `hibernate.physical_naming_strategy` | Specifies the `PhysicalNamingStrategy`
598+
| link:{doc-javadoc-url}org/hibernate/cfg/MappingSettings.html#IMPLICIT_NAMING_STRATEGY[`hibernate.implicit_naming_strategy`] | Specifies the `ImplicitNamingStrategy`
599+
| link:{doc-javadoc-url}org/hibernate/cfg/MappingSettings.html#PHYSICAL_NAMING_STRATEGY[`hibernate.physical_naming_strategy`] | Specifies the `PhysicalNamingStrategy`
600600
|===
601601

602602
[[spatial]]

documentation/src/main/asciidoc/introduction/Mapping.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ Note that the `foreignKey` member is completely optional and only affects DDL ge
470470
If you don't supply an explicit name using `@ForeignKey`, Hibernate will generate a quite ugly name.
471471
The reason for this is that the maximum length of foreign key names on some databases is extremely constrained, and we need to avoid collisions.
472472
To be fair, this is perfectly fine if you're only using the generated DDL for testing.
473+
You can customize the generated constraint names by writing your own <<naming-strategies,`ImplicitNamingStrategy`>>.
473474
====
474475

475476
For composite foreign keys we might have multiple `@JoinColumn` annotations:

0 commit comments

Comments
 (0)