Closed taj499 closed 5 years ago
Deep Update is a 4.01 functionality (New: Deep Update). Up to now only 4.00 is supported by the JPA Processor.
Thanks for reply. Could you please let me know when do I expect it (“Deep Update”) in olingo-jpa-processor-v4 API?
I just played around and found out that, even so Deep Update is a 4.01 functionality, you can use it already. As of now you have to send it as 4.00 request. The data are provided in the same way as they are provided for Deep Insert. You have to implement the you implementation of JPACUDRequestHandler accordingly. Unfortunately the response is not correct.
In case you followed the tutorial you can take the payload of the deep insert request and e.g. create a PATCH request with the following url .../AdministrativeDivisions(DivisionCode='DE5',CodeID='NUTS1',CodePublisher='Eurostat')
I hope this helped. In case you have another question please open a new issue.
Does olingo-jpa-processor-v4 supports “deep update functionality? payload of the update can contain nested entities for creating new or updating existing related entities.
I can see example “deep insert” only. If it supports “deep update” then please provide me example to implement it.