This quest teaches how to create One-To-Many and Many-to-One associations in a databse with Spring Data JPA Hibernate.
A simple database of characters and schools from the Harry Potter's univers is imported.
The purpose is to make connections with the @OneToMany
and @ManyToOne
Spring annotations between the Wizard
and School
entities.
A wizard will then be able to register to one school with the HTML forms.