MapsId and PrimaryKeyJoinColumn examples in the documentation should use OneToOne rather than ManyToOne

Description

The examples about MapsId and PrimaryKeyJoinColumn both use a ManyToOne, although there can't possible be many person details for a given person, since they share the same primary key.

AFAIK, they should rather use OneToOne.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

JB Nizet

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure