DataSource :: dictionaryType - DICTIONARY.TYPE option
The dictionary database can be stored in different data storage formats supported by ODABA. ODABA automatically distinguishes between ODABA and XML dictionaries. When, however, running e.g. an ORACLE dictionary, the type must be defined explicitly. The dictionary type option can be defined in a configuration file as sub-option for the dictionary.
ODABA storage format is the default because it is the most efficient format for storing dictionary information. The following formats are supported:
- ODABA - ODABA database format
- XMLDatabase - XML file
- ORACLE - ORACLE database
- SQLSERVER - Microsoft SQL database
- MySQL - MySQL database
- XSD - XML schema
All formats except XSD are supported ODABA data storage formats, which simply store ODABA data in the requested format. XSD is an XML format, which contains an XML schema definition. The Schema definition may contain ODABA extensions (http://www.odaba.com/OXMLExtensions.xsd)
DICTIONARY.TYPE=ORACLE
The database storage type defines the type of database used for storing data. Usually, the storage type is ODABA.
Implementation overview
- Get dictionary storage type
DataSource :: dictionaryType (  ) - Set dictionary storage type
DataSource :: dictionaryType ( eStorageType )
Implementation details
-
Get dictionary storage type
odaba::StorageTypes DataSource  :: dictionaryType (  )
The function returns the resource dictionary storage type, which is usually ODABA.
to list
-
Set dictionary storage type
odaba::StorageTypes DataSource  :: dictionaryType ( odaba::StorageTypes eStorageType )
The function allows changing the dictionary storage type for the data source. The function does not close the dictionary, when it is still open. The new dictionary storage type is used, when reopening the dictionary.
- eStorageType
- Database storage type
The database storage type defines the type of database used for storing data. Usually, the storage type is ODABA.
to list
- eStorageType
- Database storage type