skip to main content
Connection property descriptions : SchemaMap
  

Try DataDirect Drivers Now

SchemaMap

Purpose

Specifies the name and location of the configuration file used to create the relational map of native data. The driver looks for this file when connecting to an Oracle Eloqua instance. By default, 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 SchemaMap is set to a value of C:\\Users\\Default\\AppData\\Local\\Progress\\DataDirect\\Eloqua_Schema\\testuser.config, the driver either creates or looks for the configuration file testuser.config in the directory C:\Users\Default\AppData\Local\Progress\DataDirect\Eloqua_Schema\.

Notes

*When connecting to a server, the driver looks for the SchemaMap configuration file. If the configuration file does not exist, the driver creates a SchemaMap configuration file using the name and location you have provided. If you do not provide a name and location for a SchemaMap configuration file, the driver creates it using default values.
*The driver uses the path specified in this connection property to store additional internal files.
*You can refresh the internal files related to an existing relational view of your data by using the SQL extension Refresh Map. Refresh Map runs a discovery against your native data and updates your internal files accordingly.

Example

As the following examples show, escapes are needed when specifying SchemaMap for a DataSource but are not used when specifying SchemaMap in a DriverManager connection URL.
DriverManager example
jdbc:datadirect:eloqua:Company=ABCcorp;User=123@abccorp.com;Password=secret;
SchemaMap=C:\Users\Default\AppData\Local\Progress\DataDirect
\Eloqua_Schema\MyConnect.config
DataSource example
EloquaDataSource mds = new EloquaDataSource();
mds.setDescription("My EloquaDataSource");
mds.setCompany("ABCCorp")
mds.setUser("123@abccorp.com")
mds.setPassword("secret")
mds.setSchemaMap("C:\\Users\\Default\\AppData\\Local\\Progress
\\DataDirect\\Eloqua_Schema\\MyConnect.config")

Data Source Method

setSchemaMap

Default

*For Windows XP and Windows Server 2003
*userprofile\Application Data\Local\Progress\DataDirect\Eloqua_Schema\user_name.config
*For other Windows platforms
*User data source: userprofile\AppData\Local\Progress\DataDirect\Eloqua_Schema\user_name.config
*System data source: C:\Users\Default\AppData\Local\Progress\DataDirect\Eloqua_Schema\user_name.config
*For UNIX/Linux
*˜/progress/datadirect/eloqua_schema/user_name.config

Data Type

String