Spring Boot + Spring Security + PostgreSQL + JPA - Assigning Multiple Roles to a User - Part 3

Опубликовано: 14 Июнь 2026
на канале: Let's Sort It Out
2,152
29

In this video you can learn about how to configure entities with @ManyToMany association so that we can save Roles while saving the User details. I also tried to cover some common issues and exception on can face while persisting data where entities have @ManyToMany association.

This video covers the configuration of Spring Security in great detail after completion of this video you will be able to:

1. Configure User Principal to Support Multiple User Roles
2. Persist Records In Table With Child Entities and Vice Versa