Hi all,
I met a problem when using SDO 1.0, when I create a DataObject which is
created from factory, and do some changes on it, then tried to get
ChangeSummary from it, it always return null pointer, does anybody met this
problem before? Thanks in advance.
David Chen
David,
to be able to get a ChangeSummary from a DataObject it must either
a) be in a data graph that is contained in an instance of DataGraph
b) be of a Type which has a property of type sdo:ChangeSummaryType
c) be contained, either directly or indirectly by a DataObject which has a
property of
Hi Steffen,
What you're doing looks basically correct, so I think it should be
working. What version of SDO are you using? I know that we fixed a bug in
static (generated) SDO about 1 or 2 weeks ago, that may be related to
this. Have you tried using the latest version from HEAD?
If it still
Hi Daniel,
these two libraries provide the stax support required by
org.apache.tuscany.sdo.util.resource.XMLStreamSerializer
which underpins function in the Tuscany specific XMLStreamSerializer API to
allow DataObject's to be read from and written to XML streams. For
example, see