Santosh kumar edited comment on OLINGO-1034 at 10/14/16 9:38 AM:

Linked to this issue, since, both of them deal with overriding CRUD operations.

was (Author: santosh kumar):
Linked to this issue, since, both of them deal with overriding CRDU operations

> Provide Call backs for CRUD operations
> --------------------------------------
>                 Key: OLINGO-1034
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1034
>             Project: Olingo
>          Issue Type: New Feature
>          Components: odata2-core, odata2-jpa
>    Affects Versions: V2 2.0.7
>            Reporter: Santosh kumar
>              Labels: features
> OData V2.0.7 doesn't have exit points for CRUD operations on Entities. 
> Instead of exit points Olingo supports extending its API class 
> {{ODataJPAProcessorDefault}} for any custom CRUD operation. The drawback of 
> this approach is that the developer has to duplicate all the operations even 
> if only {{readEntity}} has to be customized. Also any modification to the 
> request parameters of these operations will require re-writing the Olingo 
> code again. 
> The proposal is to introduce a call back mechanism(similar to existing debug 
> call back) which allows the developer to introduce custom code for CRUD 
> operations (ex: {{readEntity}}). This approach also prevents Olingo code 
> duplication in client code

This message was sent by Atlassian JIRA

Reply via email to