Can get ChangeSummary from a pure DataObject?

2007-05-22 Thread Liang Chen
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

Re: Can get ChangeSummary from a pure DataObject?

2007-05-22 Thread kelvin goodson
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

Re: Question about Changesummery for static Interfaces

2007-05-22 Thread Frank Budinsky
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

Re: SDO Java beta-1: stax-api

2007-05-22 Thread kelvin goodson
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