company logo

Managed owner scope versioning

Managed owner scope versioning supports backtracking owner scope history (global instance or extent). Major versions are always consistent, but minor versions behave as for simple owner scope versioning.

Except the number of versions supported, managedOwner versioning mode behaves similar as owner scope versioning .

Combining managed versioning with owner scope versioning allows creating up to 65,535 minor owner scope versions for each major version. How to handle managed versions is described in detail in chapter " Defining major versions ". When creating a new major version ( Database ::createMajorVersion() ), the minor version number for all owner scopes is reset to 0.

// DBVersion Utility: set version mode individual

  DBVersion.exe c:\Sample\sample.dat mode -M:MO

// set version mode from within a program: ;

... fragment ( Database &dbh ) {

  dbh.versioningMode(managedOwner);

}

Related topics