Read the Tutorial - https://www.callicoder.com/hibernate-spring-boot-jpa-element-collection-demo/
-
Create a database named
hibernate_element_collection_demo
. -
Open
src/main/resources/application.properties
and changespring.datasource.username
andspring.datasource.password
properties as per your MySQL installation. -
Type
mvn spring-boot:run
from the root directory of the project to run the application.