minor changes for spacing

This commit is contained in:
Gavin 2023-05-25 10:05:54 +02:00
parent 33d601f146
commit 297140734b
1 changed files with 1 additions and 3 deletions

View File

@ -883,8 +883,6 @@ We may now use our `Name` class (or record) as the type of an entity attribute:
---- ----
@Entity @Entity
class Author { class Author {
Author() {}
@Id @GeneratedValue @Id @GeneratedValue
Long id; 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 <<join-table-mappings,association table>>. Later, we'll see how to map a many-to-one association to an <<join-table-mappings,association table>>.
==== ====
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] [source,java]
---- ----