diff --git a/en/reference/association-mapping.rst b/en/reference/association-mapping.rst index e46fd7df2..bd46217a1 100644 --- a/en/reference/association-mapping.rst +++ b/en/reference/association-mapping.rst @@ -530,8 +530,8 @@ it is bidirectional. targetEntity Customer inversedBy: cart joinColumn: - customer_id: - referencedColumnName: id + name: customer_id: + referencedColumnName: id Note that the @JoinColumn is not really necessary in this example, as the defaults would be the same.