You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by ja...@nype.pl on 2018/04/24 14:22:09 UTC

olingo 2.0.10 - JPA service can't take all entities

Hi all,

I can’t take all DB entities by Apache Olingo2 JPA service, whereas 
entities in a relevant DB table exists :o

My request:
GET /MySampleApp/ODataService.svc/Brands?$format=json

Received response:
{"d":{"results":[]}}

If I add ‘top’ parameter to request url, I receive expected entities 
(number limited by top).
But why I can’t take all entities?

I did a service following 
http://olingo.apache.org/doc/odata2/tutorials/CreateWebApp.html. But 
with Hibernate JPA provider and Postgres DB.

Please advice.