Skip to content

Commit bef650a

Browse files
authored
Merge pull request #298032 from Clare-Zheng82/0410-Update_Oracle_wallet
[Doc update] Add Oracle wallet difference
2 parents 678c93d + 38e5ae3 commit bef650a

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

articles/data-factory/connector-oracle.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: jianleishen
66
ms.subservice: data-movement
77
ms.custom: synapse
88
ms.topic: conceptual
9-
ms.date: 05/07/2025
9+
ms.date: 05/28/2025
1010
ms.author: jianleishen
1111
---
1212

@@ -507,7 +507,7 @@ When you copy data from and to Oracle, the following interim data type mappings
507507
| LONG RAW |Byte[] |Byte[] |
508508
| NCHAR |String |String |
509509
| NCLOB |String |String |
510-
| NUMBER (p,s) |Int16, Int32, Int64, Double, Single, Decimal |Decimal, String (if p > 28) |
510+
| NUMBER (p,s) |Int16, Int32, Int64, Single, Double, Decimal |Decimal, String (if p > 28) |
511511
| NUMBER without precision and scale | Decimal |Double |
512512
| NVARCHAR2 |String |String |
513513
| RAW |Byte[] |Byte[] |
@@ -517,8 +517,17 @@ When you copy data from and to Oracle, the following interim data type mappings
517517
| VARCHAR2 |String |String |
518518
| XMLTYPE |String |String |
519519

520-
> [!NOTE]
521-
> NUMBER(p,s) is mapped to the appropriate interim service data type depending on the precision (p) and scale (s).
520+
521+
NUMBER(p,s) is mapped to the appropriate version 2.0 interim service data type depending on the precision (p) and scale (s):
522+
523+
| Interim service data type | Condition |
524+
|:--------------------------|:----------------------------------------------------------------------------------------------------------------|
525+
| Int16 | scale <= 0 AND (precision - scale) < 5 |
526+
| Int32 | scale <= 0 AND 5 <= (precision - scale) < 10 |
527+
| Int64 | scale <= 0 AND 10 <= (precision - scale) < 19 |
528+
| Single | precision < 8 AND ((scale <= 0 AND (precision - scale) <= 38) OR (scale &gt; 0 AND scale <= 44)) |
529+
| Decimal | precision &gt;= 16
530+
| Double | If none of the above conditions are met. |
522531

523532
## Lookup activity properties
524533

@@ -672,8 +681,8 @@ The Oracle connector version 2.0 offers new functionalities and is compatible wi
672681

673682
| Version 2.0 | Version 1.0  |
674683
|:--- |:--- |
675-
|The following mappings are used from Oracle data types to interim service data types used by the service internally. <br><br>NUMBER(p,s) -> Int16, Int32, Int64, Double, Single, Decimal <br>FLOAT(p)-> Double or Decimal based on its precision <br>NUMBER -> Decimal <br>TIMESTAMP WITH TIME ZONE -> DateTimeOffset <br>INTERVAL YEAR TO MONTH -> Int64 <br>INTERVAL DAY TO SECOND -> TimeSpan |The following mappings are used from Oracle data types to interim service data types used by the service internally. <br><br>NUMBER(p,s) -> Decimal or String based on its precision <br>FLOAT(p)-> Double <br>NUMBER -> Double <br>TIMESTAMP WITH TIME ZONE -> DateTime <br>INTERVAL YEAR TO MONTH -> String <br>INTERVAL DAY TO SECOND -> String |
684+
|The following mappings are used from Oracle data types to interim service data types used by the service internally. <br><br>NUMBER(p,s) -> Int16, Int32, Int64, Single, Double, Decimal <br>FLOAT(p)-> Double or Decimal based on its precision <br>NUMBER -> Decimal <br>TIMESTAMP WITH TIME ZONE -> DateTimeOffset <br>INTERVAL YEAR TO MONTH -> Int64 <br>INTERVAL DAY TO SECOND -> TimeSpan |The following mappings are used from Oracle data types to interim service data types used by the service internally. <br><br>NUMBER(p,s) -> Decimal or String based on its precision <br>FLOAT(p)-> Double <br>NUMBER -> Double <br>TIMESTAMP WITH TIME ZONE -> DateTime <br>INTERVAL YEAR TO MONTH -> String <br>INTERVAL DAY TO SECOND -> String |
676685
| Support convertDecimalToInteger in copy source when `supportV1DataTypes` is set to `true`. | Support convertDecimalToInteger in copy source.  |
677686
| Using `?` as a placeholder for script activity query parameters is not support. You can use the named parameter (such as `:paramA`) or the positional parameter (such as `:1`) as a replacement. | Support using `?` as a placeholder for script activity query parameters.  |
678687
| Support TLS 1.3.| TLS 1.3 is not supported. |
679-
688+
| Two-way TLS/SSL with Oracle SSO wallet is supported. For more information, see this [article](https://docs.oracle.com/en/database/oracle/oracle-database/23/odpnt/featConnecting.html#GUID-0DF481DD-2BBE-4746-936C-1AF7830423F2)| Two-way TLS/SSL with Oracle wallet is not supported. |
3.04 KB
Loading

0 commit comments

Comments
 (0)