JPA Many-To-Many Relationship Example with Spring Data JPA, Spring Boot Guide https://hellokoding.com/jpa-many-to-many-relationship-mapping-example-with-spring-boot-hsql/ What you'll need JDK 1.7 or later Maven 3 or later Stack Spring Data JPA Spring Boot Run mvn spring-boot:run