Skip to content

Files

Latest commit

 

History

History

jpa-element-collection-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hibernate ElementCollection Mapping Example with Spring Boot and JPA

Read the Tutorial - https://www.callicoder.com/hibernate-spring-boot-jpa-element-collection-demo/

Setup the Application

  1. Create a database named hibernate_element_collection_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.