DatabaseHandle - Database Handle
Database handle must be created for accessing data in an ODABA database. An ODABA database has to be connected with a dictionary, which defines the object model for the database.
Each ODABA database consists of at least one Database Object (Root Object) that is the owner of extents and other data collections.
When creating a database handle the object handle this is based on a database object handle (-> DBObjectHandle), ObjectSpace) for the root object, i.e. the database handle inherits all the functionality from the database object handle.
A database may consists of a number of physical separated main bases and data areas. This is, however, handles internally after creating the database. For creating a multiple resource database the database handle provides several functions for initializing main bases and data areas.
Moreover, the database handle provides log file and recovery features, that allow logging all changes made on the database or recovering the database in case of errors.
The workspace feature supported by the database handle is a sort of persistent transactions. It allows storing changes for a longer period outside the database and consolidating or discarding changes when requested by the user.
- ActivateShadowBase - Activate Shadow Database
- BackupDB - Backup database
- ChangeRecovery - Enable/disable recovery support
- CheckDB - Check database consistency
- CheckLicence - Check Application License
- Close - Close database handle
- CloseRecovery - Close recovery file
- CloseWorkspace - Close Workspace
- ConsolidateWorkspace - Consolidate Workspace
- ContextDisabled - - internal feature (not documented)
- CopyDBSettings - - internal feature (not documented)
- CopyExtensions - Copy extension properties
- CreateMajorVersion - Create new major version
- CreateVersion - - internal feature (not documented)
- DatabaseHandle - Constructor
- DeactivateShadowBase - Deactivate Shadow Database
- DeleteWorkspace - Delete workspace
- DisableReplicationDB - Disable replication database
- DisableWorkspace - Disabling workspace feature
- DiscardWorkspace - Discard Workspace
- EnableProductionState - - internal feature (not documented)
- EnableReplicationDB - Enable replication master
- EnableWorkspace - Enable workspace feature
- ExecuteDatabaseAction - Execute database context function
- ExistWorkspace - Exist workspace?
- ExtensionDefinition - Get extension property definition
- ExtensionExist - Does extension property exist
- ExtensionsCount - Get extension property count
- FlushClusterPool - Write cluster pool to disk
- GetActionResult - Get result from last action executed
- GetDatabaseContext - Get database context
- GetDatabaseID - Get database resource number
- GetLastMajorVersion - - internal feature (not documented)
- GetLastVersion - - internal feature (not documented)
- GetMajorVersion - - internal feature (not documented)
- GetNewTypeID - Get next available internal type number
- GetPath - Get path for the opened database
- GetRecoveryFile - Provide name of recovery file
- GetRecoveryNum - Provide recovery number
- GetRecoveryPath - Provide path for recovery folder
- GetRecoveryStartNumber - Get recovery start number
- GetRecoveryType - Get recovery type
- GetSchemaVersion - Get schema version
- GetSystemVersion - Get system version
- GetTimeStamp - Get date/time for version
- GetVersion - Get version number for the time point
- GetVersionString - Provide database version
- GetVersioningMode - Versioning mode
- GetWorkspace - Get workspace names
- HasVersions - Check whether database has versions or not
- IgnoreWriteProtect - Ignore permanent write protection
- InProduction - - internal feature (not documented)
- InitDataArea - Initialize DataArea
- InitMainBase - Initialize main base
- InitRecovery - Initialize recovery file
- InitializeOptions - Initialize options
- IsDatabase - Is object space a database
- IsLicenced - Is database licensed
- IsPIF - Is database platform independent
- IsShared - Is database shared by several users
- LoadExtensions - Refresh extension property definitions
- LocateWorkspace - Locate an existing Workspace
- Open - Opening a database handle
- OpenMultiple - Open multiple database source
- OpenRecovery - Open recovery file
- OpenReplicate - Open replication database
- OpenWorkspace - Open Workspace
- RecreateExtent - Recreate Index for an extent
- ReleaseLocks - Release instance locks
- ResetLastSchemaVersion - Reset last schema version
- ResetMajorVersion - Reset last version activated
- ResetVersion - - internal feature (not documented)
- RestoreDB - Restore database
- SetActionResult - Set result string
- SetVersioningMode - Set versioning mode
- SetupTypeID - Update type identifier
- StoreOption - - internal feature (not documented)
- StoreOptions - - internal feature (not documented)
- UpdateMajorVersion - Change timestamp for current version
- VersionCount - Get number of versions
- VersionIntervall - Get major version interval
- operator bool - Database handle opened?
- operator!= - Compare database handles
- operator= - Assignment operator
- ~DatabaseHandle - Destructor