Hi Igor,
The references are treated as part of the source entity. This means that you can update a “Product” entity’s properties and add references from that “Product” entity to e.g. a “Category” entity in a single PATCH request using the “bind” syntax, see http://docs.oasis-open.org/odata/odata-json-format/v4.0/errata02/os/odata-json-format-v4.0-errata02-os-complete.html#_Toc403940638:
PATCH http://host/service/Products(42) HTTP/1.1
{
"Cate...@odata.bind": "Categories(6)",
"Description": "Fantastic product with 42 different uses"
}
Btw: is anyone working on a V4 version of odata4j? Due to the silence on this mailing list I assumed that Apache Olingo (www.olingo.org) is the only Java implementation of OData V4.
The general OData discussion group is https://groups.google.com/forum/#!forum/odata-discussion.
Regards!
--Ralf
From: odata4j...@googlegroups.com [mailto:odata4j...@googlegroups.com]
Sent: Samstag, 27. Juni 2015 06:17
To: Abridged recipients
Subject: Abridged summary of odata4j...@googlegroups.com - 1 update in 1 topic
· Is there way to update an entity properties and add a reference to it through one single PATCH-request in OData v4? - 1 Update
Is there way to update an entity properties and add a reference to it through one single PATCH-request in OData v4?
Igor Kriklivets <ise...@gmail.com>: Jun 26 06:38AM -0700
|
You received this digest because you're subscribed to updates for this group. You can change your settings on the
group membership page. |
I have not seen any updates to this project, however for Teiid http://teiid. org we depend on odata4j for V2, so that reason we have forked this project and calling it "OReva"
The main aim is to provide the maintenance updates for V2. We recently received a huge contribution for V3. So, if anybody has any bug fixes or enhancements please come talk to us.
Find the fork at
Http://github.com.com/teiid
Thanks
Ramesh..
--
You received this message because you are subscribed to the Google Groups "odata4j-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to odata4j-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.