You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Georgi (JIRA)" <ji...@apache.org> on 2013/11/01 14:34:19 UTC

[jira] [Comment Edited] (OLINGO-47) $batch support

    [ https://issues.apache.org/jira/browse/OLINGO-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811198#comment-13811198 ] 

Georgi edited comment on OLINGO-47 at 11/1/13 1:33 PM:
-------------------------------------------------------

With the whole encapsulation along the way, I don't see this easier than simply reusing the executeBatch and executeChangeSet implementations from ListsProcessor directly in ODataJPAProcessorDefault. Both seem to be generic dispatchers in essence. 
I did some experiments and it looks like they dispatch correctly to the different concrete handlers when copied in ODataJPAProcessorDefault.
Please, give it a try or suggest otherwise.


was (Author: shturec):
With the whole encapsulation along the way, I don't see this easier than simply reusing the executeBatch implementation from ListsProcessor directly in the jpa processor implementation. Is there a reason not to copy it? Looks generic.

> $batch support
> --------------
>
>                 Key: OLINGO-47
>                 URL: https://issues.apache.org/jira/browse/OLINGO-47
>             Project: Olingo
>          Issue Type: New Feature
>          Components: odata2-core, odata2-jpa
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Georgi
>            Assignee: Chandan V.A
>
> It seems that org.apache.olingo.odata2.processor.core.jpa.ODataJPAProcessorDefault does not override the executeBatch method from org.apache.olingo.odata2.api.processor.ODataSingleProcessor and the default implementation throws "Not Implemented" exception.
> I couldn't find any implementation for executeBatch except for the reference application's ListsProcessor.
> Therefore, there's no support for $batch requests as of now (or please let me know how can I use it with a JPA backend). As far as I see there's a whole dedicated package for that and was a little surprised to find out that I can't make use of that really cool feature despite of that.
> I'd like to request/vote to walk the last mile and add support for $batch requests.



--
This message was sent by Atlassian JIRA
(v6.1#6144)