company logo

DataSource :: openObjectSpace - Open object space

Usually, the root object space will be opened with the database. When a database has, however, several subordinated object spaces, those may be opened explicitly after setting the requested object space name in the property objectSpaceName.

Return value:  Object space reference ( odaba::ObjectSpace & )

The reference refers to an opened or not opened object space handle.

Implementation details

odaba::ObjectSpace & DataSource  :: openObjectSpace (  )

The object space handle is opened for the object space defined in objectSpaceName. The database handle of the data source must have been opened before. If the object space handle is already opened it will be closed before (closeObjectSpace()).

When the object space name in property objectSpaceName is empty, the root object space of the database is referred to as object space handle.