'I want to remove the association between two objects via @DeleteMapping. Java spring boot
Unfortunately, I am unable to deal with the error. I have 2 id's of which the "mieszkanie" is owned by the "deweloper". Would anyone be able to help?
Solution 1:[1]
What are you trying to do? If you have a field "DeweloperId" in Mieszkanie entity you only need delete Deweloper entity.
Solution 2:[2]
two questions:
- provide an error message and/or stacktrace
- provide entities between which you have an association.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Victor Silva |
Solution 2 | sansay61 |