Oracle ADWC
Autonomous Data Warehouse Cloud (ADWC) is a fully-managed, high-performance elastic cloud service providing analytical capability over data stored in the database and Oracle Object Store.
Type Name
oracle
Connection Properties
Template name: oracleadwc
Appropriate translator name: oracleadwc
Properties:
tns (the service name of the Oracle ADWC instance, which can be found in the
tnsnames.orafile within the wallet)user-namepassword(default: empty )wallet( a path to a ZIP file or a Base64 string presentation of the ZIP-file; see note below)tns_admin( a path to the unzipped wallet directory; default:dvserver/standalone/deployments/wallets/wallet_<tns>/; the path should end with '/')jdbc-properties(arbitrary extra properties)new-connection-sql(default:alter session set nls_sort = BINARY)min-pool-size(default:2)max-pool-size(default:70)
Note: The wallet property is stored in the SYSADMIN.Connections table as a Base64 string even when set as a path to a ZIP file. In the import script, it will also be presented as a Base64 string, therefore the ZIP file does not need backing up for migration.
Examples
1. Example with wallet as a path to a ZIP file:
CALL "SYSADMIN.createConnection"("name" => 'adwc', "jbossCLITemplateName" => 'oracleadwc', "connectionOrResourceAdapterProperties" => 'tns=<tns>, user-name=<user-name>, password=<password>, wallet=d:/adwc_wallet.zip', "encryptedProperties" => '') ;;
CALL "SYSADMIN.createDataSource"("name" => 'adwc', "translator" => 'oracleadwc', "modelProperties" => 'importer.useFullSchemaName=false, importer.TableTypes="TABLE,VIEW", importer.importIndexes=false, importer.schemaPattern="ADMIN",importer.defaultSchema="ADMIN"', "translatorProperties" => 'trustStorePWD=<trustStorePWD>, keyStorePWD=<keyStorePWD>', "encryptedModelProperties" => '', "encryptedTranslatorProperties" => '');;
2. Example with wallet as a Base64 string:
CALL "SYSADMIN.createConnection"("name" => 'adwc', "jbossCLITemplateName" => 'oracleadwc', "connectionOrResourceAdapterProperties" => 'tns=<tns>, user-name=<user-name>, password=<password>, wallet=<Base64 string>', "encryptedProperties" => '') ;;
CALL "SYSADMIN.createDataSource"("name" => 'adwc', "translator" => 'oracleadwc', "modelProperties" => 'importer.useFullSchemaName=false, importer.TableTypes="TABLE,VIEW", importer.importIndexes=false, importer.schemaPattern="ADMIN",importer.defaultSchema="ADMIN"', "translatorProperties" => 'trustStorePWD=<trustStorePWD>, keyStorePWD=<keyStorePWD>', "encryptedModelProperties" => '', "encryptedTranslatorProperties" => '');;
Please note that wallet can be provided as:
A Base64-encoded value
A path to a file with a plain-text value
You can encode a plain-text value to Base64 using the to_chars(to_bytes(snowflake_key, 'UTF-8'), 'base64') function.
When creating a data source via the Web UI or CData Virtuality Studio, the file does not need to be Base64-encoded; the encoding occurs automatically.
Translator Properties
Translator Properties Shared by All JDBC Connectors
(Properties listed in alphabetical order)
To view the full table, click the expand button in its top right corner
Name | Description | Default value |
|---|---|---|
| Sets a template to convert Examples
SQL
|
|
| Database time zone, used when fetching date, time, or timestamp values | System default time zone |
| Specific database version, used to fine-tune pushdown support | Automatically detected by the server through the data source JDBC driver, if possible |
| Only considered when |
|
| If |
|
| Maximum size of prepared insert batch |
|
| Sets a template to convert Examples
SQL
|
|
| If |
|
| Forces a translator to issue a Example
SQL
|
|
| If If |
|
| If If |
|
| If |
|
| if |
|
| Embeds a / comment / leading comment with session/request id in the source SQL query for informational purposes |
|
The names of the translator properties are case-sensitive.
Translator Properties Specific for Oracle ADWC
Name | Description | Default value |
|---|---|---|
| When set to TRUE, the Data Virtuality Server treats Oracle date data type as timestamp data type |
|
| Maximum length of a table name |
|
| Maximum length of a column name. Please note that five chars of defined maximum length will be reserved for internal purposes and cannot be used for column identifier |
|
| Indicates that the Oracle-supplied driver (typically prefixed by |
|
Data Source Properties
Data Source Properties Shared by All JDBC Connectors
(Properties listed in alphabetical order)
To view the full table, click the expand button in its top right corner
Name | Description | Default |
|---|---|---|
| Replaces |
|
| Database catalogs to use. Can be used if the Only for Microsoft SQL Server and Snowflake:
Only for Snowflake: the | Exasol:
SQL
All others: empty |
|
| |
|
Please note that writing into a data source is only possible if this parameter is set. | Empty |
| Turns on metadata cache for a single data source even when the global option is turned off. Together with |
|
| Case-insensitive regular expression that will exclude a matching fully qualified procedure name from import | Empty |
| Comma-separated list of schemas (no | Oracle:
SQL
All others: empty |
| Case-insensitive regular expression that will exclude a matching fully qualified table name from import. Does not speed up metadata loading. Here are some examples: 1. Excluding all tables in the (source) schemas
SQL
2. Excluding all tables except the ones starting with "public.br" and "public.mk" using a negative lookahead:
SQL
3. Excluding "tablename11" from the list ["tablename1", "tablename11", "company", "companies"]:
SQL
| Empty |
| Fetch size assigned to a resultset on loading metadata | No default value |
| If set to |
|
| If set to |
|
| If set to |
|
| If set to Please note that it is currently not possible to import procedures which use the same name for more than one parameter (e.g. same name for |
|
| If set to |
|
| If set to |
|
| If set to |
|
| Procedure(s) to import. If omitted, all procedures will be imported. | Empty |
| If set to |
|
| If set to |
|
| If set to |
|
| If set to |
|
| Schema(s) to import. If omitted or has "" value, all schemas will be imported. Schema names can be fully qualifed, for example | Empty |
| If set to |
|
| Table(s) to import. If omitted, all tables will be imported. Table names can be fully qualifed, for example | Empty |
| Comma-separated list (without spaces) of table types to import. Available types depend on the DBMS. Usual format: Other typical types are | Empty |
| If set to |
|
| If set to Please note that this may lead to objects with duplicate names when importing from multiple schemas, which results in an exception |
|
| If set to |
|
| If set to |
|
The names of the data source properties are case-sensitive.
importer.catalog property can be used in Snowflake together with the db connection property since v25.3
importer.schemaPattern supports fully qualified names since v25.3
importer.tableNamePattern supports fully qualified names since v25.3
Data Source Properties Specific for Oracle ADWC
Name | Description | Default value |
|---|---|---|
| Set to |
|
| Set to |
|