JPA OneToOne Relationship
One-to-one association that maps a foreign key column.
One-to-one association where both source and target share the same primary key values.
One-to-one association from an embeddable class to another entity.
Postgres SQL 9.x
Spring Boot 2.x
Run: mvn spring-boot:run
Reference to: http://tdkhiem.com/2017/12/12/jpa-onetoone-relationship/