ObjectSpace :: updateVersion - Update object space version
When the versioning mode is database or synchronized , one may update the current version of the object space to the version number passed in uVersion . When the version number passed in uVersion is 0xffffffff (maximum unsigned 32 bit value), the version is set to the access version defined for the object space. When no access version has been set for the object space, the object space version is set to the last version number defined for the database.
After creating a new version, the access version is set to the created version number. This includes all open property handles.
When the object space version is larger than the version number passed in uVersion or when uVersion is greater than the last version number created for the data base, the function throws an exception. The function also throws an exception, when the version mode defined for the database does not support updating versions (not synchronized versioning)
Implementation details
- uVersion
- Instance version number
Instance version numbers are assigned version numbers to individual instances.