You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2015/04/16 16:10:59 UTC

[jira] [Commented] (OLINGO-610) Server doesn't support pagination. Does Olingo handles that case internally?

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

Christian Amend commented on OLINGO-610:
----------------------------------------

Hi,

Yes Olingo supports readling large feeds although it is not recommended for performance reasons.

I remember that we made changes in the 1.2.0 version to read large files so I would reccomend you use the latest 2.0.3 version and see if this issue still persist. 

If you still get the exception I would need a stacktrace or at least the exception message with a rough estimate how big the feed is to investigate this further.

Best Regards,
Christian



> Server doesn't support pagination. Does Olingo handles that case internally?
> ----------------------------------------------------------------------------
>
>                 Key: OLINGO-610
>                 URL: https://issues.apache.org/jira/browse/OLINGO-610
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 1.2.0
>            Reporter: Kumar Pratyush
>            Assignee: Christian Amend
>
> We are working with a ODATA service which doesn't support server side pagination and contains lots of data. We are observing crash while making following calls:
> 		InputStream dataStream = Connection.getInputStreamContent(sanitizedURI,
> 				username, password, contentType, "GET");
> 		try {
> 			odataFeed = EntityProvider.readFeed(contentType,
> 					entityContainer.getEntitySet(entitySetName), dataStream,
> 					EntityProviderReadProperties.init().build());
> }
> Does Olingo library support this kind of scenario?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)