From c53e2772a0a4b8b1194dcbfb4cff1b4512668c1f Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Tue, 15 Nov 2011 22:10:56 +0100 Subject: [PATCH] Fix YAML syntax errors in examples --- en/reference/association-mapping.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/reference/association-mapping.rst b/en/reference/association-mapping.rst index 1b42dcc3f..6a9cb9d74 100644 --- a/en/reference/association-mapping.rst +++ b/en/reference/association-mapping.rst @@ -276,7 +276,7 @@ mapping: User_id: referencedColumnName: id inverseJoinColumns: - Group_id + Group_id: referencedColumnName: id In that case, the name of the join table defaults to a combination @@ -532,10 +532,10 @@ it is bidirectional. Cart: oneToOne: customer: - targetEntity Customer + targetEntity: Customer inversedBy: cart joinColumn: - name: customer_id: + name: customer_id referencedColumnName: id Note that the @JoinColumn is not really necessary in this example, @@ -892,7 +892,7 @@ database perspective is known as an adjacency list approach. Category: type: entity oneToMany: - children + children: targetEntity: Category mappedBy: parent manyToOne: