/second

Primary LanguageJava

Hibernate Many to Many Mapping Example with Spring Boot and JPA

Read the Tutorial - https://www.callicoder.com/hibernate-spring-boot-jpa-many-to-many-mapping-example/

Setup the Application

  1. Create a database named hibernate_many_to_many_demo.

  2. Open src/main/resources/application.properties and change spring.datasource.username and spring.datasource.password properties as per your MySQL installation.

  3. Type mvn spring-boot:run from the root directory of the project to run the application.