Hi,

(DG = DataGraph, CS=ChangeSummary, DO = DataObject)

When checking randomly regarding change summary - came across some
points/questions -

Did SDO always support (since 1.0)  ChangeSummary on DG and DO level
property both?

Typically data travelling different tiers will be DGs (multi-root DO graph),
is it? In which
use case will a Data Access Service receive DOs with CS as property (not
contained in DG)?

If there are DGs and DOs both come in to DAS, DAS will need ability to
support using
CS coming from both. Current DAS looks at DG only.

Also simplistic approach is when a DO/DG has CS, apply it to DB one at a
time, do not attempt to merge these 2 and do not deal with any merge of CSs.
Will this suffice for most business cases or there will be need to merge and
send effective DG to DB? I guess this is something invalid as the current
SDO spec clear says against mixing CSs.

In short I am just trying to understand use cases of DO having CS as a
property and
whether there will be any changes in future in this support? Just to
understand
whether this is something that needs to be supported by DAS.

Got some old threads here, but nothing conclusive -
http://www.mail-archive.com/[email protected]/msg06642.html
http://www.mail-archive.com/[email protected]/msg17571.html
http://www.mail-archive.com/[email protected]/msg16800.html

Regards,
Amita

On 10/10/07, kelvin goodson <[EMAIL PROTECTED]> wrote:
>
> Amita,
>
> The detail of the nature of the merge you want to perform is not
> completely clear,  but you should be aware that inserting a DataObject
> of a Type that has a ChangeSummary property into a data graph wrapped
> in a DataGraph instance would violate the constraint that the scope of
> monitoring of two change summaries may not overlap.
>
> It would be interesting to know more about the issue you are trying to
> solve.  It is possible to have a data graph (not DataGraph) with two
> or more change summaries in,  by ensuring that the containment
> hierarchies of the DataObjects which contain the change summary
> properties do not overlap.  That way you could assemble a composite
> graph carrying all the change summary info.
>
> There's no API for merging change summaries.  The only way I can see
> might be possible for doing what you want would be something like 1)
> capture the change summary info for the DataObject in the DataGraph;
> reset the data in the DataGraph to its original state at the start of
> logging; merge the two graphs and "replay" the steps necessary to
> achieve the changes that had been made to the data that was originally
> in the DataGraph.
>
> Regards, Kelvin
>
> On 10/10/2007, Amita Vadhavkar <[EMAIL PROTECTED]> wrote:
> > When I have DO1 embedded in DataGraph and the DataGraph has change
> summary
> > and I have DO2 with change summary property.
> > Is it possible to merge change summary of DO1(from data graph) with
> change
> > summary from DO2 to form a final data graph with
> > DO3 with effective change summary?
> >
> > Regards,
> > Amita
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to