Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From:    [ Add a report in this area ]  
Report #:  38707   Status: Closed
OclPSHandle retrieves ALL instances of a Versioned object
Project:  C#Builder Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Andrew Gray
Report Type:  Basic functionality failure Date Reported:  1/14/2007 7:21:47 PM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   244102
Resolution: Inactive (Resolution Comments) Resolved in Build: : 11.0.2804.9245
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
When using the PS service to retrive 'AllInstances' of a an ECO Class with 'Versioned' property enabled the query returns all historical instances of the object as well as the current version.
Steps to Reproduce:
Set the property Versioned=true for any ECO class.

For you PersitenceMapper component's 'SqlDatabaseConfig' property set:
UseClockLog=true;
UseTimeStampColumn=true;
UseTimeStampTable=true;

create a class instance. save to DB. Modify the class instance, save to database. Use OclPS service to retieve AllInstances.

I have a demo app to reproduce if required. Attached.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01