[ http://issues.apache.org/jira/browse/TUSCANY-21?page=all ]
     
Frank Budinsky resolved TUSCANY-21:
-----------------------------------

    Resolution: Invalid

I don't think these are problems:

1) The EMF adapter list (eAdapters) isn't used to attach the change recorder to 
dataobjects in SDO2. There is a dedicated instance variable 
(DataObjectImpl.changeRecorder) that is used for this. So even though you don't 
see an adapter, it still should be recording changes after you call 
beginLogging().

2) You need to call endLogging() before you call resumeLogging(). The 
summarize() method doesn't stop logging so calling resumeLogging() after 
summarize() will fail. Note that summarize() and resumeLogging() are 
implementation methods and not part of the SDO2 API, so use of them should be 
avoided.

> SDO change summary not working properly
> ---------------------------------------
>
>          Key: TUSCANY-21
>          URL: http://issues.apache.org/jira/browse/TUSCANY-21
>      Project: Tuscany
>         Type: Bug
>   Components: Java SDO Implementation
>     Reporter: Brent Daniel

>
> I'm having trouble with the change history in the SDO 2 implementation. 
> 1) The normal pattern in the DAS is to build a data graph and then turn on 
> change recording. When you do this, the adapter for the change recorder 
> doesn't seem to get added to the DataObject instances in the graph, so no 
> changes are recorded. 
> 2) You can't do a summarize() and then resumeLogging(). The implementation 
> will complain that logging is still enabled. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to