Refer correct entity in "Composite identifiers with associations" section

Code sample uses `Book` entity instead of `PersonAddress`.
This commit is contained in:
Maciej Walkowiak 2021-11-10 21:47:41 +01:00 committed by Christian Beikov
parent fa3a364b79
commit 3845d2f97f
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ Use of this feature may or may not be portable from a JPA perspective.
==== Composite identifiers with associations
Hibernate allows defining a composite identifier out of entity associations.
In the following example, the `PersonAddress` entity identifier is formed of two `@ManyToOne` associations.
In the following example, the `Book` entity identifier is formed of two `@ManyToOne` associations.
[[identifiers-composite-id-mapping-example]]
.Composite identifiers with associations