updating data relationship manytomany in the repository in the spring mvc controller
When updating an entity in spring mvc + jpa, the entity is updated in the database itself, but when trying to get the updated entity, the received data is not updated, when the same call is made inside the method after the update, the data comes updated.
An example on my code:
Cross Origion Error when sending request from React to Spring mvc
I am using Spring mvc with React Js but unable to solve the problem of Cors.When i post or want to get the data from spring mvc controller its gives error Cross origion not allowed.i have added this these lines in applicationcontext.xml file but failed to build and run the application