skip to main content
Using DataDirect Test : DataDirect Test Tutorial : Configuring DataDirect Test
 

Configuring DataDirect Test

The default DataDirect Test configuration file is:
install_dir/testforjdbc/Config.txt
where install_dir is your OpenAccess SDK Client for JDBC installation directory. This file can be edited as appropriate for your environment using any text editor. All parameters are configurable, but the most commonly configured parameters are:
Drivers
A list of colon-separated JDBC driver classes.
DefaultDriver
The default JDBC driver that appears in the Get Driver URL window.
Databases
A list of comma-separated JDBC URLs. The first item in the list appears as the default in the database selection window. You can use one of these URLs as a template when you make a JDBC connection. The default Config.txt file contains example URLs for most databases.
InitialContextFactory
Should be set to com.sun.jndi.fscontext.RefFSContextFactory if you are using file system data sources, or com.sun.jndi.ldap.LdapCtxFactory if you are using LDAP.
ContextProviderURL
The location of the .bindings file if you are using file system data sources, or your LDAP Provider URL if you are using LDAP.
Datasources
A list of comma-separated JDBC data sources. The first item in the list appears as the default in the data source selection window.