JPA OneToOne Relationship
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md
mvnw
mvnw.cmd
pom.xml

README.md

JPA-OneToOne-Relationship

JPA OneToOne Relationship

Included:
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.

Requirement:
JDK 8
Postgres SQL 9.x
Spring Boot 2.x

Run: mvn spring-boot:run

Reference to: http://tdkhiem.com/2017/12/12/jpa-onetoone-relationship/