[
https://issues.apache.org/jira/browse/OLINGO-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873224#comment-13873224
]
M Carissimi commented on OLINGO-118:
------------------------------------
Hello Michael,
thanks again for your input.
It is interesting that the OData Specification does not mandate the use of
m:type in simple properties. We have seen commercial OData clients relying on
m:type to decide how to represent the data received by a feed. In particular,
we will need to use the PowerPivot plugin of Microsoft Excel and we have found
that it is capable of correctly using data only when m:type is specified in
properties.
This is a major issue for us, as we won't be able to use the Olingo library
because the feeds generated by the library can't be correctly interpreted by
some key OData client applications.
Should this be raised as a defect/enhancement? How soon can this type of
functionality be added to Olingo?
Regards
Miki
> Typing of odata entry properties
> --------------------------------
>
> Key: OLINGO-118
> URL: https://issues.apache.org/jira/browse/OLINGO-118
> Project: Olingo
> Issue Type: Question
> Affects Versions: V2 1.1.0
> Reporter: M Carissimi
> Assignee: Michael Bolz
> Attachments: odata4j output.xml, olingo output.xml
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)