Schema Databases

The ObjectStore® database holds information about (database object) class layouts in schema databases.
In ClassiX®, the schema databases are assigned to the DLLs with C++ code for the according classes:

DLL contains program code for schema database
cxbosr.dll basic classes schema_b.adb
cxoosr.dll classes for COM objects schema_o.adb
cxmosr.dll CyberEnterprise® schema_m.adb

Accessing the schema databases works - just like "normal" database access - via ObjectStore® server. In contradiction to the DLLs, they need to be somewhere with a running server.

How do I find schema databases when starting the ClassiX® system?

It is characteristic for ObjectStore® to also save a path in the DLLs. This path can be modified with the ObjectStore® utility ossetasp.

In the start phase, ObjectStore® searches for schemas in the following order:

  1. after the path that is implanted in the DLLs: in ClassiX® this is simply the schema database name. The current directory will be browsed.
  2. in the directory (directories) that has (have) been indicated with the environment variable OS_SCHEMA_PATH
  3. in all directories from which it is possible to load DLLs, meaning according to the environment variable PATH

Please use the environment variable OS_SCHEMA_PATH for the ClassiX® setup to keep the required flexibility.
Implanting a schema path in the DLLs is not recommended (exception: workaround for ObjectStore bug 102686).


What do I do if the correct schemas cannot be found?: