You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Oracle Net Services Name (TNS Alias)](https://docs.oracle.com/en/database/oracle/oracle-database/23/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-12C94B15-2CE1-4B98-9D0C-8226A9DDF4CB) (only for the self-hosted integration runtime)|sales|
113
113
114
-
More connection properties you can set in connection string per your case:
114
+
More connection properties you can set in linked service per your case:
115
115
116
116
| Property | Description | Required | Default value |
117
117
|:--- |:--- |:--- |:--- |
118
118
| encryptionClient | Specifies the encryption client behavior. Supported values are `accepted`, `rejected`, `requested`, or `required`. Type: string | No |`required`|
119
-
| encryptionTypesClient | Specifies the encryption algorithms that client can use. Supported values are `AES128`, `AES192`, `AES256`, `3DES112`, `3DES168`. Type: string | No |`AES256`|
119
+
| encryptionTypesClient | Specifies the encryption algorithms that client can use. Supported values are `AES128`, `AES192`, `AES256`, `3DES112`, `3DES168`. Type: string | No |`(AES256)`|
120
120
| cryptoChecksumClient | Specifies the desired data integrity behavior when this client connects to a server. Supported values are `accepted`, `rejected`, `requested`, or `required`. Type: string | No |`required`|
121
-
| cryptoChecksumTypesClient | Specifies the crypto-checksum algorithms that client can use. Supported values are `SHA1`, `SHA256`, `SHA384`, `SHA512`. Type: string | No |`SHA512`|
122
-
|initialLOBFetchSize| Specifies the amount that the source initially fetches for LOB columns. Type: int | No | 0 |
121
+
| cryptoChecksumTypesClient | Specifies the crypto-checksum algorithms that client can use. Supported values are `SHA1`, `SHA256`, `SHA384`, `SHA512`. Type: string | No |`(SHA512)`|
122
+
|initialLobFetchSize| Specifies the amount that the source initially fetches for LOB columns. Type: int | No | 0 |
123
123
| fetchSize | Specifies the number of bytes that the driver allocates to fetch the data in one database round-trip. Type: int | No | 10 MB |
124
124
| statementCacheSize | Specifies the number of cursors or statements to be cached for each database connection. Type: int | No | 0 |
125
125
| initializationString | Specifies a command that is issued immediately after connecting to the database to manage session settings. Type: string | No | null |
126
126
| enableBulkLoad | Specifies whether to use bulk copy or batch insert when loading data into the database. Type: boolean | No | true |
127
-
|supportLegacyDataTypes| Specifies whether to use the version 1.0 data type mappings. Do not set this to true unless you want to keep backward compatibility with version 1.0's data type mappings. Type: boolean | No, this property is for backward compatibility use only | false |
128
-
|fetchTSWTZasTimestamp| Specifies whether the driver returns column value with the TIMESTAMP WITH TIME ZONE data type as DateTime or string. This setting is ignored if supportLegacyDataTypes is not true. Type: boolean | No, this property is for backward compatibility use only | true |
127
+
|supportV1DataTypes| Specifies whether to use the version 1.0 data type mappings. Do not set this to true unless you want to keep backward compatibility with version 1.0's data type mappings. Type: boolean | No, this property is for backward compatibility use only | false |
128
+
|fetchTswtzAsTimestamp| Specifies whether the driver returns column value with the TIMESTAMP WITH TIME ZONE data type as DateTime or string. This setting is ignored if supportV1DataTypes is not true. Type: boolean | No, this property is for backward compatibility use only | true |
129
129
130
130
**Example:**
131
131
@@ -134,6 +134,7 @@ More connection properties you can set in connection string per your case:
134
134
"name": "OracleLinkedService",
135
135
"properties": {
136
136
"type": "Oracle",
137
+
"version": "2.0",
137
138
"typeProperties": {
138
139
"server": "<server name>",
139
140
"username": "<user name>",
@@ -155,6 +156,7 @@ More connection properties you can set in connection string per your case:
155
156
"name": "OracleLinkedService",
156
157
"properties": {
157
158
"type": "Oracle",
159
+
"version": "2.0",
158
160
"typeProperties": {
159
161
"server": "<server name>",
160
162
"username": "<user name>",
@@ -331,7 +333,7 @@ To copy data from Oracle, set the source type in the copy activity to `OracleSou
331
333
|:--- |:--- |:--- |
332
334
| type | The type property of the copy activity source must be set to `OracleSource`. | Yes |
333
335
| oracleReaderQuery | Use the custom SQL query to read data. An example is `"SELECT * FROM MyTable"`.<br>When you enable partitioned load, you need to hook any corresponding built-in partition parameters in your query. For examples, see the [Parallel copy from Oracle](#parallel-copy-from-oracle) section. | No |
334
-
| convertDecimalToInteger | Oracle NUMBER type with zero or unspecified scale will be converted to corresponding integer. Allowed values are **true** and **false** (default). <br>Apply when the useLegacyDataTypes is true. | No |
336
+
| convertDecimalToInteger | Oracle NUMBER type with zero or unspecified scale will be converted to corresponding integer. Allowed values are **true** and **false** (default). <br>If you are using Oracle version 2.0, this property will be applied when supportV1DataTypes is true. | No |
335
337
| partitionOptions | Specifies the data partitioning options used to load data from Oracle. <br>Allowed values are: **None** (default), **PhysicalPartitionsOfTable**, and **DynamicRange**.<br>When a partition option is enabled (that is, not `None`), the degree of parallelism to concurrently load data from an Oracle database is controlled by the [`parallelCopies`](copy-activity-performance-features.md#parallel-copy) setting on the copy activity. | No |
336
338
| partitionSettings | Specify the group of the settings for data partitioning. <br>Apply when the partition option isn't `None`. | No |
337
339
| partitionNames | The list of physical partitions that needs to be copied. <br>Apply when the partition option is `PhysicalPartitionsOfTable`. If you use a query to retrieve the source data, hook `?AdfTabularPartitionName` in the WHERE clause. For an example, see the [Parallel copy from Oracle](#parallel-copy-from-oracle) section. | No |
@@ -468,7 +470,7 @@ You are suggested to enable parallel copy with data partitioning especially when
468
470
469
471
## Data type mapping for Oracle
470
472
471
-
When you copy data from and to Oracle, the following mappings apply from Oracle's data types to the internal data types used by the service. To learn about how the copy activity maps the source schema and data type to the sink, see [Schema and data type mappings](copy-activity-schema-and-type-mapping.md).
473
+
When you copy data from and to Oracle, the following interim data type mappings are used within the service. To learn about how the copy activity maps the source schema and data type to the sink, see [Schema and data type mappings](copy-activity-schema-and-type-mapping.md).
472
474
473
475
| Oracle data type | Interim service data type (for version 2.0) | Interim service data type (for version 1.0) |
474
476
|:--- |:--- |:--- |
@@ -487,14 +489,8 @@ When you copy data from and to Oracle, the following mappings apply from Oracle'
| NUMBER (p,s) |Int16, Int32, Int64, Double, Single, IBigDecimal |Decimal, String (if p > 28) |
493
+
| NUMBER without precision and scale | IBigDecimal |Double |
498
494
| NVARCHAR2 |String |String |
499
495
| RAW |Byte[]|Byte[]|
500
496
| TIMESTAMP |DateTime |DateTime |
@@ -504,12 +500,35 @@ When you copy data from and to Oracle, the following mappings apply from Oracle'
504
500
| XMLTYPE |String |String |
505
501
506
502
> [!NOTE]
507
-
> If convertDecimalToInteger is not set, the return type will be Decimal.
503
+
> NUMBER(p,s) is mapped to the appropriate interim service data type depending on the precision (p) and scale (s).
508
504
509
505
## Lookup activity properties
510
506
511
507
To learn details about the properties, check [Lookup activity](control-flow-lookup-activity.md).
512
508
509
+
## Security
510
+
511
+
To avoid the security risks in the server properties, you can refer to an allow list to configure which properties in the server can be set. The allow list includes the following properties.
512
+
513
+
| Property |Description | Sample |
514
+
|:--- |:--- |:--- |
515
+
|***Connect Required***|||
516
+
| HOST | The host name or IP address used to connect to the Oracle database. | sales-svr |
517
+
| PORT | The server port for the Oracle database. | 1521 |
518
+
| PROTOCOL | The transport protocol to be used while connecting to the Oracle database. | tcp |
519
+
| SERVICE_NAME | Specifies the logical representation of a database. | sales.us.example.com |
520
+
| SID | Specifies the name that identifies a specific instance of an Oracle database. | sales |
521
+
| INSTANCE_NAME | Specifies the database instance to access. | sales1 |
522
+
| SERVER | Specifies type of service handler. | dedicated |
523
+
|***Match Version 1.0***|||
524
+
| CONNECT_TIMEOUT | Specifies the amount of time, in milliseconds, seconds, or minutes, in which clients must establish Oracle Net connections to database instances. | 10ms |
525
+
| RETRY_COUNT | Specifies the number of times to connect before terminating the connection attempt. | 3 |
526
+
| RETRY_DELAY | Specifies the delay between connection retries. | 5 |
527
+
| SSL_VERSION | Define valid Transport Layer Security (TLS) versions to be used for connections. | TLSv1.3 |
528
+
|***Most Secure Behavior***|||
529
+
| SSL_SERVER_DN_MATCH | Enforce server-side certificate validation through distinguished name (DN) matching. | TRUE |
530
+
| SSL_SERVER_CERT_DN | Specifies the distinguished name (DN) of the database server. | cn=finance,cn=OracleContext,c=us,o=example |
531
+
513
532
## Upgrade the Oracle connector
514
533
515
534
Here are steps that help you upgrade the Oracle connector:
0 commit comments