Merge pull request #59 from romainneutron/master
Fix some YAML syntax errors
This commit is contained in:
commit
59849f73bd
@ -276,7 +276,7 @@ mapping:
|
|||||||
User_id:
|
User_id:
|
||||||
referencedColumnName: id
|
referencedColumnName: id
|
||||||
inverseJoinColumns:
|
inverseJoinColumns:
|
||||||
Group_id
|
Group_id:
|
||||||
referencedColumnName: id
|
referencedColumnName: id
|
||||||
|
|
||||||
In that case, the name of the join table defaults to a combination
|
In that case, the name of the join table defaults to a combination
|
||||||
@ -532,10 +532,10 @@ it is bidirectional.
|
|||||||
Cart:
|
Cart:
|
||||||
oneToOne:
|
oneToOne:
|
||||||
customer:
|
customer:
|
||||||
targetEntity Customer
|
targetEntity: Customer
|
||||||
inversedBy: cart
|
inversedBy: cart
|
||||||
joinColumn:
|
joinColumn:
|
||||||
name: customer_id:
|
name: customer_id
|
||||||
referencedColumnName: id
|
referencedColumnName: id
|
||||||
|
|
||||||
Note that the @JoinColumn is not really necessary in this example,
|
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:
|
Category:
|
||||||
type: entity
|
type: entity
|
||||||
oneToMany:
|
oneToMany:
|
||||||
children
|
children:
|
||||||
targetEntity: Category
|
targetEntity: Category
|
||||||
mappedBy: parent
|
mappedBy: parent
|
||||||
manyToOne:
|
manyToOne:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user