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 06:20 Go to next message
Gerard Davison is currently offline Gerard Davison
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 15:25 Go to previous messageGo to next message
Blaise Doughan is currently offline Blaise Doughan
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 05:31 Go to previous messageGo to next message
Gerard Davison is currently offline Gerard Davison
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 08:47 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25919
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
Previous Topic:Performance degredation
Next Topic:javax.naming.NoInitialContextException using "generate tables from entities"
Goto Forum:
  


Current Time: Sat Jul 26 09:12:38 EDT 2014

Powered by FUDForum. Page generated in 0.02655 seconds