From 297140734b6bdd2f34adb5ded4ebde59dd8a2539 Mon Sep 17 00:00:00 2001 From: Gavin Date: Thu, 25 May 2023 10:05:54 +0200 Subject: [PATCH] minor changes for spacing --- documentation/src/main/asciidoc/introduction/Entities.adoc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/documentation/src/main/asciidoc/introduction/Entities.adoc b/documentation/src/main/asciidoc/introduction/Entities.adoc index 8272e44212..7d1ede84ee 100644 --- a/documentation/src/main/asciidoc/introduction/Entities.adoc +++ b/documentation/src/main/asciidoc/introduction/Entities.adoc @@ -883,8 +883,6 @@ We may now use our `Name` class (or record) as the type of an entity attribute: ---- @Entity class Author { - Author() {} - @Id @GeneratedValue Long id; @@ -982,7 +980,7 @@ Almost all the associations in your domain model are going to be of this form. Later, we'll see how to map a many-to-one association to an <>. ==== -The `@ManyToOne` annotation marks the "to one" side of the association, and so a unidirectional many-to-one association looks like this: +The `@ManyToOne` annotation marks the "to one" side of the association, so a unidirectional many-to-one association looks like this: [source,java] ----