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
1 answer

org.apache.olingo path is not resolved even after downloading the dependencies

I am trying to create an OData service using apache olingo V4 (https://olingo.apache.org/doc/odata4/tutorials/read/tutorial_read.html) But when I am creating an Edm(Entity Data Model) provider class by inheriting the class CsdlAbstractEdmProvider…
arunava04
  • 67
  • 9
0
votes
1 answer

How to make versioning on the olingo odata url

I am using Olingo OData to create my restful API. My question is if there is anyway to put versioning on the API URL? For example, we I have right now is http://localhost:9090/cars I am wondering if I can make it looks…
Laodao
  • 1,547
  • 3
  • 17
  • 39
0
votes
2 answers

Is Olingo4 backward compatible?

If I use Olingo4 libraries at client side (java), would they be compatible with ODATA 2.x services? Thanks
Tintin
  • 2,853
  • 6
  • 42
  • 74
0
votes
1 answer

Olingo odata 2 structure and flow of work

Recently I joined new company. In that company they are using odata 2 for REST API's and JPA for ORM. Can any one explains how exactly this odata 2 olingo frameworks works. I am familiar with MVC, Spring MVC, RestController. But I am not able to…
Mohan Raja
  • 129
  • 1
  • 13
0
votes
1 answer

ODATA Support for JSON data using java and mysql

We have requirement to create ODATA supported Rest API. We will have to use Java and Mysql for this purpose. Data will be in JSON format which is dynamically changing and not possible to define the exact fields. I'm looking at libraries like Apache…
aravindaM
  • 978
  • 8
  • 15
0
votes
1 answer

jdbc connector for Apache Olingo

I have developed a JAVA Project using Apache Olingo in which i am trying to fetch data from MySQL Database but I am getting following error Got an exception! com.mysql.jdbc.Driver Which library is to be import for this in Apache olingo. Below is my…
John Smith
  • 25
  • 2
  • 10
0
votes
1 answer

Olingo develop with basic jdbc

all. I want to know how to develop Olingo with my jdbc (not jpa), for example: when I get my DB connection, query and get some entities, then I think I need to fill them into Olingo framework(maybe it's the EDMProvider), could anyone give me some…
0
votes
0 answers

use of uni-directional @OneToMany in odata with jpa leads to an exception

Issue occurs with use of JPA Processor Extension. If a uni-directional @OneToMany is used the creation of the metamodel fails with following exception No [EntityType] was found for the key class [java.util.Set] in the Metamodel - please verify that…
0
votes
2 answers

odata olingo: add custom parameters to URL

I want to add some context paramters to my odata service. The parameters i want to include in the url as param (after the service name) so that the url can be used in excel How would one be able to receive and parse any addition param supplied in…
ALAL
  • 33
  • 1
  • 5
0
votes
1 answer

How to post/put a LIST of entities/ an EntitySet within Apache Olingo?

I want to HTTP-PUT a list of entities/ entitySet (I guess it is similar for HTTP-POST). Below is the body of the query. This query works within Postman. { "value": [ { "@odata.type": "Demo.GridPoint", "x": 2.2, "y":…
0
votes
2 answers

How to make a PUT request with Apache Olingo?

I am trying to transfer an entity via a HTTP PUT request using following code. public ClientEntity createEntity(URI absoluteUri, ClientEntity ce) { ODataEntityCreateRequest request = client …
0
votes
0 answers

Olingo code failing OData Validator

I am new to OData/Olingo. I am trying out the tutorial at Olingo (http://olingo.apache.org/doc/odata4/tutorials/read/tutorial_read.html), and have currently completed chapter 2. However, When I tried validating my service through the OData Validator…
TechiRik
  • 1,893
  • 6
  • 27
  • 37
0
votes
1 answer

CRUD operation on OData service produced by Apache Olingo with MySQL, JPA and Tomcat web server

I was following some example in which we can able to produce OData service using Apache Olingo with MySQL, JPA and Tomcat web server. This example is completely based on displaying data from MySQL database. How can i perform operation like Create,…
Prashob Thekkyal
  • 410
  • 1
  • 11
  • 27
0
votes
1 answer

OData (Olingo) "inhibit" endpoint

My question is about what is best way to inhibit an endpoint that is automatically provided by Olingo? I am playing with a simple app based on Spring boot and using Apache Olingo.On short, this is my servlet registration: @Configuration public…
silverb77
  • 279
  • 5
  • 16
0
votes
1 answer

Camel Olingo2 parses the URI?

I'm trying to run a Camel Olingo2 route to an OData service with a top, format and filter queryParams, but the Olingo component isn't encoding the params so it throws an URISyntaxException, and if I encode the params before calling the Component…
mariob
  • 1
  • 3