Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » XML Representation of SDO Change Summary
XML Representation of SDO Change Summary [message #510699] Thu, 28 January 2010 11:20 Go to next message
Gerard Davison is currently offline Gerard DavisonFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I am trying to find out if the EclipseSDO library provides any help in converting a Change Summary to XML? I want to send just the changes to my SDO object over to a REST service using the HTTP PATCH method rather than sending the entire DataObject.

I remember from reading the SDO spec that the format for this is explained; but I just can't figure out the API. Sorry if I have missing something obvious.

Thanks,

Gerard
Re: XML Representation of SDO Change Summary [message #510859 is a reply to message #510699] Thu, 28 January 2010 20:25 Go to previous messageGo to next message
Blaise Doughan is currently offline Blaise DoughanFriend
Messages: 163
Registered: July 2009
Senior Member

Hi Gerard,

The SDO spec itself does not currently define a standalone ChangeSummary XML representation.

Currently you could compose one yourself by interrogating the ChangeSummary object itself using getChangedDataObjects() and getOldValues(DataObject).

Coud you enter a bug for this feature? Also any requirements you have on the XML representation?
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=EclipseL ink

-Blaise
Re: XML Representation of SDO Change Summary [message #510962 is a reply to message #510859] Fri, 29 January 2010 10:31 Go to previous messageGo to next message
Gerard Davison is currently offline Gerard DavisonFriend
Messages: 4
Registered: July 2009
Junior Member
Done:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=301232

I guess though if we are missing a standard representation that this area might not be ready for standard usage as it would require EclipseSDO on the client and sever side.

Gerard
Re: XML Representation of SDO Change Summary [message #511007 is a reply to message #510962] Fri, 29 January 2010 13:47 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Gerard,

I'm sure there are quite a few tricky problems to solve in such a
representation. E.g., how are the affected/involved objects referenced,
and how objects that have been added or removed referenced...


Gerard Davison wrote:
> Done:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=301232
>
> I guess though if we are missing a standard representation that this
> area might not be ready for standard usage as it would require
> EclipseSDO on the client and sever side.
>
> Gerard


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Performance degredation
Next Topic:javax.naming.NoInitialContextException using "generate tables from entities"
Goto Forum:
  


Current Time: Wed Apr 24 22:09:08 GMT 2024

Powered by FUDForum. Page generated in 0.02544 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top