...
Config Key | Mandatory/ Optional | Type | Purpose | |||||||
---|---|---|---|---|---|---|---|---|---|---|
CT_FW_IBATIS_DATASOURCE_KEY | Mandatory | String | This key is used to provide the iBatis data source key for CT framework. | |||||||
CT_FW_DATASOURCE | Mandatory | String | This key is used to provide data source that must be used by the CT framework for connecting to its data model. | |||||||
CT_FW_DATABASE_VENDOR | Mandatory | String | This key is used to provide the database vendor for which vendor-specific-scripts will be loaded. The possible valid values for this option are:
This is used for switching the underlying database between Oracle or Microsoft SQL Server where the users and objects related to Canvas framework are created. | |||||||
DATASOURCE_NAME | Mandatory | String | This key is used to provide the name of the implementation data source. | |||||||
PROVIDER_URL | Mandatory | String | This key is used to provide the provider URL. | |||||||
JNDI_FACTORY | Mandatory | String | This key is used to provide the default JNDI API for data source connection.The value must be org.apache.naming.NamingContext | |||||||
CT_IBATIS_DATASOURCE_KEYS | Mandatory | Comma separated String | This key provides the list of Logical data sources that the application wishes to use. You must ensure to not include the Data Source name provided under the key CT_FW_IBATIS_DATASOURCE_KEY. In order to use the external data source, you have to define the data source key in this property and add two additional keys for the configuration. Refer Fetching Data from a Schema Different from Implementation Schema for more information. | |||||||
CT_MODEL_HOUSE_DSXML | Mandatory | Resource Path | For every data source configured under CT_IBATIS_DATASOURCE_KEYS, it is expected that the iBatis configuration XML that corresponds to this Logical data source is pointed out here. | |||||||
CT_DEFAULT_IBATIS_DATASOURCE_KEY | Mandatory | String | This is the Logical data source that must be taken as the default by the framework whenever a developer tries to execute a Database request without explicitly providing the Logical Data Source. This must be one of the data sources defined under the key CT_IBATIS_DATASOURCE_KEYS. | |||||||
USER_TXN_NAME.JNDIName | Mandatory | String | This key is used to provide the JNDIName for the user transaction that is getting created.
| |||||||
REMOTE_TXN_NAME.JNDIName | Mandatory | String | This key is used to provide the JNDIName for the remote user transaction that is getting created. | |||||||
CT_MYBATIS_DATASOURCE | Optional | String | This key is needed in case of MyBatis usage to indicate the name of the implementation data source. | |||||||
CT_MYBATIS_CONFIG_XML | Optional | Resource Path | This key is needed in case of MyBatis usage to indicate the configuration XML that corresponds to the Logical data source. |
...