Skip to content

Commit

Permalink
Merge pull request #7667 from jschaedl/patch-1
Browse files Browse the repository at this point in the history
Fixes example One-To-One, Self-referencing
  • Loading branch information
lcobucci authored Oct 2, 2019
2 parents 6bf2ff5 + 27fcc01 commit f9e2ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/reference/association-mapping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ below.
// ...
/**
* One Student has One Student.
* One Student has One Mentor.
* @OneToOne(targetEntity="Student")
* @JoinColumn(name="mentor_id", referencedColumnName="id")
*/
Expand Down

0 comments on commit f9e2ae3

Please sign in to comment.