JPA One to One Shared Primary Key Relationship Example with Spring Boot, Maven, and MySQL Guide https://hellokoding.com/jpa-one-to-one-shared-primary-key-relationship-mapping-example-with-spring-boot-maven-and-mysql/ Prerequisites JDK 1.8 or later Maven 3 or later MySQL 5.6 or later Stack Spring Data JPA Spring Boot MySQL Run mvn spring-boot:run