Details
-
Question
-
Status: Closed
-
Major
-
Resolution: Fixed
-
V2 1.1.0
-
None
-
None
Description
Hello,
I am migrating an odata service from odata4j to olingo. During creation of single odata entries or odata feeds, odata4j allows you to specify the type of each property element. How can this be achieved in olingo? See attached xml feeds for an entry generated in odata4j and one generated in olingo.
We generate the metadata at runtime using custom database queries and in odata4j we can cache the metadata document to avoid having to rebuild it every time a request is received. How can metadata be cached between requests in olingo? Following the simple read example on the olingo website, we use an ODataServiceFactory to create a service using method createODataSingleProcessorService(), but these methods are invoked during each request.
Cheers