company logo

Database - Database Handle

Database handles are created in order to access data in an ODABA database. An ODABA database has to refer to a dictionary, which defines the schema for the database and application resources.

Each ODABA database consists of at least one object space (root object space) that is the owner of extents and other data collections. When creating a database handle, the object space handle inherits object space handle ( ObjectSpace ) for the root object.

A database may consists of a number of physical separated main bases and data areas. This is, however, handled internally after creating the database. For creating a multiple resource database the database handle provides several functions for initializing main 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.

Function Groups
Functions