DataSource :: databaseType - DATABASE.TYPE option
The database can be stored in different data storage formats supported by ODABA. ODABA storage format is the default because it is the most efficient format for storing complex data structures.
ODABA automatically distinguishes between ODABA and XML databases. When, however, running e.g. an ORACLE database, the type must be defined explicitly. The database type option can be defined in a configuration file as sub-option for the database option.
The following values are supported:
ODABA - ODABA database format
XMLDatabase- XML file
ORACLE - ORACLE database
SQLSERVER - Microsoft SQL database
MySQL - MySQL database
Relational database formats (ORACLE, MS_SQL) require an ODABA object relationship mapper (ORM), which allows managing relationships and transactions efficiently. The ORM is a small ODABA database, which contains derived information from the original data. Since the ORM database does not add information to the underlying data, it can be reconstructed from the relational database at any time.
DATABASE.TYPE=ORACLE
The database storage type defines the type of database used for storing data. Usually, the storage type is ODABA.
Implementation overview
- Get database storage type
DataSource :: databaseType (  ) - Set database storage type
DataSource :: databaseType ( eStorageType )
Implementation details
-
Get database storage type
odaba::StorageTypes DataSource  :: databaseType (  )
The function returns the database storage type, which is usually ODABA.
to list
-
Set database storage type
odaba::StorageTypes DataSource  :: databaseType ( odaba::StorageTypes eStorageType )
The function allows changing the database storage type for the data source. The function does not close the database, when it has been opened. The new database storage type is used, when reopening the database.
- 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