Entity Mapping | @ManyToMany @JoinTable with REST| Spring Data JPA | Spring Boot | Dev2Prod Coding

preview_player
Показать описание
This video will focus on @ManyToMany Entity Mapping in Spring Data JPA development & testing via REST endpoints.

Github:

In case you like this video please Like, Subscribe & press the bell icon.
Dev2Prod Coding
Рекомендации по теме
Комментарии
Автор

Wow this was awesome. There are some good tutorials out there but this is a level above anything else I've seen yet. Thank you!

theNorth
Автор

Você é muito inteligente, meu chapa! Parabéns!

vitormarcato
Автор

Mano, tu é um gênio!!! Estou há 2h pensando como eu poderia associar um @ManyToMany no JSON já que eu sabia que os meus dois Entity estavam funcionando como esperado. Agora, terei que ver como esse código funciona para futuras apliações.

vivianfreitas
Автор

Hi bro video after so long
BTW I reallly liked dur videos

sagarbora
Автор

I love you smart Indian wizard!
This helped a lot.
I do have one question though: is there a way to create an Employee with a Post method that also takes in input a set of Projects?
Ill' try to explain it better. In the video you create an Employee, you create a Project and then you add the projects to the employee one by one. I'm looking for a way to add multiple projects to the employee when I'm creating the employee. So in your example when creating the employee I would like to pass a name (employee name) and a set that contains multiple projects.

frenkie
Автор

Very nice explained..👏
Sir please make video on how to remove assigned project for particular emp.

hariommahajan
Автор

JsonIgnore stops the circular but also stops adding employee to Project, so just makes it a more complex one to many.

tonycavanagh
Автор

I'm getting stack overflow error...even after using @JsonIgnore.... actually I'm using DTO classes

sandhyalakshmi
Автор

how does scenario looks in db that u didnt show what happened to the joineTable ???

nooruddinraotiwala
Автор

When I'm updating the record It is showing Customer with projects but when I'm try to get all records or find by id It is showing [ ] for projects.
I don't understand why ?
Can you help....Pls.

ranjitbhosale
Автор

Is there any specific reason why you did not use @Getter and @Setter in employee entity?

massimoramaj
Автор

In MYSQL Workbench the project is assigned to employee/s but in Postman it doesn't show to be assigned. What could be the problem?

ldskbkw
Автор

how can i do if i want employee list in particular project along with project details ???

satyadasari
Автор

I am new to Spring boot and facing challenge to implement join query in specification. could you please help?

masoomraza
Автор

To delete a Project, we need to go throw every employee and remove the project form him to perform our task?

khywuxo
Автор

What if the relationship has attributes ?

cvgaviao
Автор

Thank you, what i do whene i want to assign project to Employee ?

medyazidhamlaoui
Автор

Can you tell me how to delete the mapping

gajanangaikwad
Автор

How to sort this column which has Many to many relation?

damarlaomjayasankar
Автор

bhai tera project kisi kam ka nhi hai...tum ache ache comment khud hi fake account se karte ho kya

AshuKumar-kwbi
welcome to shbcf.ru