company logo

Managed synchronized instance scope versioning

Managed synchronized instance scope versioning differs from synchronized instance scope versioning only by the way assigning version numbers. Version numbers are assigned on database level ( Database ::createVersion() ). For each major version up to 65,535 minor versions may be created. Major versions are always consistent, but minor versions behave as for synchronized instance scope versioning (nearly consistent).

Except the number of versions supported, managedSynchronizedInstance versioning mode behaves similar as synchronized instance scope versioning .

How to handle managed versions is described in detail in chapter " Defining major versions ". When creating a new major version ( Database ::createMajorVersion() ), the next minor version number for all instance scopes is reset to 0.

// DBVersion Utility: set version mode individual

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

// set version mode from within a program: ;

... fragment ( Database &dbh ) {

  dbh.versioningMode(managedSynchronizedOwner);

}