Skip to content

Commit c28115e

Browse files
committed
fix field name in @OnetoOne examples
1 parent b3998da commit c28115e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ class Author {
12621262
Long id;
12631263
12641264
@OneToOne(optional=false, fetch=LAZY)
1265-
Person author;
1265+
Person person;
12661266
12671267
...
12681268
}
@@ -1333,7 +1333,7 @@ class Author {
13331333
13341334
@OneToOne(optional=false, fetch=LAZY)
13351335
@MapsId
1336-
Person author;
1336+
Person person;
13371337
13381338
...
13391339
}

0 commit comments

Comments
 (0)