Questions tagged [olingo]

Apache Olingo provides a client and server framework for the Open Data Protocol (OData). It is implemented in Java and supports OData 2.0 and OData 4.0

About

Apache Olingo provides a client and server framework for the Open Data Protocol (OData). It is implemented in Java and supports OData 2.0. OData 4.0, with a JavaScript client for OData 4.0

See also:

252 questions
0
votes
0 answers

Can not add odata service reference

I'm using Apache olingo to produce OData entities from a MSSQL database. My service works good from browser (I can get all entities using uri conventions from odata), but when I want to add service reference from other .net project I get this error:…
Mykhailo Yuzheka
  • 713
  • 1
  • 7
  • 24
0
votes
1 answer

Olingo 2 OData JPA Deep Insert in JSON

With cars-jpa-archetype example, I am able to perform deep insert (Car and Driver) in XML but not JSON. With my JSON 1 or 2 at below, only Car is inserted and Driver is null. Any one can shed light on my JSON inputs? Have no issue with JSON input if…
Lee Chee Kiam
  • 11,450
  • 10
  • 65
  • 87
0
votes
2 answers

Implement $filter in Olingo

Is there a good documentation on implementing $filter in Olingo? the one on Olingo web site is not helping me because I am not accessing backend data using JDBC. Any sample code would also help. Thanks,
Jaideep Joshi
  • 11
  • 1
  • 3
0
votes
1 answer

Odata cast Edm.DateTimeOffset to long?

Is possible to cast DateTimeOffset to a long (the date in milliseconds) ex: url/Fiels?$filter=cast(Birthdate,'Edm.Decimal') gt 0 This would return me all the fields that have the birthdate after 1 january 1970... But I get { "error":{ …
Boldijar Paul
  • 5,405
  • 9
  • 46
  • 94
0
votes
1 answer

How do I know if I've reached the end ODataFeed with Olingo

I'm using Olingo to traverse a list of feeds. I was wondering how do I know if I've reached the end of the feed page? Thank you!
relaxhax
  • 11
  • 3
0
votes
1 answer

Filtering by value list in OData service

So, suppose I have a an SQL table: create table Person(id varchar2(255) not null); I'm trying to wrap it using Apache Olingo. Is it possible to express this SQL query in OData?? select * from Person where id in ('a1', 'a2', 'a3', ... 'an'); My…
Jesús Zazueta
  • 1,160
  • 1
  • 17
  • 32
0
votes
1 answer

Getting the list of schema objects corresponding to a service using Apache Olingo

I am trying to read the metadata from an OData Endpoint using Apache Olingo library. I want to get the list of Schemas that are there in the service. Sample code goes like this- DataServices services; //TODO: for (Schema schema :…
prerna30
  • 131
  • 1
  • 2
  • 15
-1
votes
1 answer

Why is MS Excel Power Query sending multiple requests to Olingo V4 spring boot service

I have used the Olingo library to expose Odata endpoint. Goal is to access /odata/models endpoint from any tool or Excel power Query. However, when the call is from Excel Power Query I see two requests being fired for the same endpoint one after the…
Jeni
  • 3
  • 1
-1
votes
1 answer

How to make $batch POST request using Olingo v2 and Java

I am trying to do a $batch request in Java using OData v2. An example request from the browser would be something like below between the double quotes. But how can I make this request programatically? Is there a sample call somewhere? Any help is…
Razvan Badea
  • 31
  • 1
  • 4
-1
votes
1 answer

Can we create JPA Entities for database views?

I already have created JPA entities from database tables. I would like to know if we can create JPA entities for database Views.
Suneel
  • 131
  • 5
-2
votes
1 answer

Do we need to write manual queries again when using OData?

While using OData, do we need to write manual SQL queries in order to communicate to the database? If so, what's the advantage of OData? I'm using the Apache Olingo implementation.
1 2 3
16
17