5. Versions - Database versioning
ODABA supports three types of version features:
System version: is an internal version number for supporting online evolution, when system model changes. System versions are assigned by the ODABA development team.
Data version: allows storing different versions of instances in a database. ODABA provides several versioning strategies (modes), but only one for each database. Moreover, each database may provide a database version string in order to recognize version changes.
Schema version: The schema version is the data version for the dictionary or resource database. When changing the data version for a dictionary, the schema version for databases running with this dictionary will be updated.
Functions
- createMajorVersion - Create new major version
- createVersion - Create new version
- hasVersions - Has database versions
- lastMajorVersion - Last major version
- lastVersion - Last owner scope version
- majorVersionBegin - Get major version begin
- majorVersionCount - Number of major versions
- majorVersionEnd - Get major version end
- resetMajorVersion - Reset major version
- resetSchemaVersion - Reset schema version
- resetVersion - Reset owner scope version
- schemaVersion - Schema version
- systemVersion - ODABA system schema version
- toMajorVersion - Get major version number for the time point
- updateMajorVersion - Change time stamp for major version end
- versionString - Database version string
- versioningMode - Versioning mode