Concept Flow - @OneToMany relationship
Define Parent Entity
Add @OneToMany on Collection
Define Child Entity
Add @ManyToOne on Child
Save Parent with Children
Spring Boot persists Parent and Children
Retrieve Parent loads Children
This flow shows how a parent entity holds a collection of child entities using @OneToMany, and how Spring Boot saves and loads them together.