skip to main content
Connection Option Descriptions : Schema Definition
  

Try DataDirect Drivers Now

Schema Definition

Attribute

SchemaDefinition (SD)

Purpose

Specifies the name and location of the configuration file where the relational map of native data is written. The driver looks for this file when connecting to a MongoDB server. If the file does not exist, the driver creates one.

Valid Values

string
where:
string
is the absolute path and filename of the configuration file, including the .config extension. For example, if SchemaDefinition is set to a value of C:\Users\Default\AppData\Local\Progress\DataDirect\MongoDB Schema\MainServer.config, the driver either creates or looks for the configuration file MainServer.config in the directory C:\Users\Default\AppData\Local\Progress\DataDirect\MongoDB Schema.

Notes

*When connecting to a MongoDB server, the driver looks for the SchemaDefinition configuration file. If the configuration file does not exist, the driver creates a SchemaDefinition using the name and location you have provided. If you do not provide a name and location for SchemaDefinition, the driver creates a SchemaDefinition using default values.
*The Schema Tool uses the path specified in this connection option to store log and internal files.

Default

The default value is determined by the Host Name connection option, platform, and data source type. When you specify a value for the host name connection option, the driver uses it to create the filename prefix for the config file. For example, if you specify a host name of MainServer, the default config file will be named MainServer.config. The path component of the default value is dependent on the platform and, for some Windows platforms, data source type. The following is a list of default values by platform:
*Windows XP:
user_profile\Application Data\Local\Progress\DataDirect\MongoDB Schema\host_name.config
*All other Windows platforms:
*User Data Source:
user_profile\AppData\Local\Progress\DataDirect\MongoDB Schema\host_name.config
*System Data Source:
C:\Users\Default\AppData\Local\Progress\DataDirect\MongoDB Schema\host_name.config
*UNIX:
~/progress/datadirect/mongodb_schema/host_name.config

GUI Tab

General tab

See Also

Host Name