Skip to content

Commit d03cd2d

Browse files
Merge pull request #276 from jster1357/develop
doc fixes for PLUGIN-1268, PLUGIN-1267
2 parents a754adc + 57ba2f6 commit d03cd2d

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

oracle-plugin/docs/Oracle-action.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ will be passed to the JDBC driver as connection arguments for JDBC drivers that
4040

4141
Example
4242
-------
43-
Suppose you want to execute a query against Oracle database named "XE" that is running on "localhost"
43+
Suppose you want to execute a query against Oracle database named (service name) "XE" that is running on "localhost"
4444
port 1251 (Ensure that the driver for Oracle is installed. You can also provide driver name for some specific driver,
4545
otherwise "oracle" will be used), then configure the plugin with:
4646

@@ -49,7 +49,8 @@ Driver Name: "oracle"
4949
Database Command: "UPDATE table_name SET price = 20 WHERE ID = 6"
5050
Host: "localhost"
5151
Port: 1251
52-
Database: "XE"
52+
Connection Type: "Service Name"
53+
SID/Service Name/TNS Connect Descriptor: "XE"
5354
Username: "system"
5455
Password: "oracle"
5556
Default Batch Value: 10

oracle-plugin/docs/Oracle-batchsink.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You also can use the macro function ${conn(connection-name)}.
3535
- TRANSACTION_SERIALIZABLE (default): No dirty reads. Non-repeatable and phantom reads are prevented.
3636
- Note: If the user role selected is SYSDBA or SYSOPER, the plugin will default to TRANSACTION_READ_COMMITTED to prevent ORA-08178 errors
3737

38-
**Connection Type** Whether to use an SID or Service Name when connecting to the database.
38+
**Connection Type** Whether to use an SID, Service Name, or TNS Connect Descriptor when connecting to the database.
3939

4040
**SID/Service Name/TNS Connect Descriptor:** Oracle connection point (Database name, Service name, or a TNS Connect Descriptor). When using TNS, place
4141
the full TNS Connect Descriptor in the text field. For example:
@@ -44,6 +44,8 @@ the full TNS Connect Descriptor in the text field. For example:
4444

4545
**Table Name:** Name of the table to export to.
4646

47+
**Schema:** Name of the database schema to write to. If left blank it will default to the database login user
48+
4749
**Username:** User identity for connecting to the specified database.
4850

4951
**Password:** Password to use to connect to the specified database.
@@ -91,17 +93,19 @@ Data Types Mapping
9193

9294
Example
9395
-------
94-
Suppose you want to write output records to "users" table of Oracle database named "XE" that is running on "localhost",
96+
Suppose you want to write output records to "users" table of Oracle database named (service name) "XE" that is running on "localhost",
9597
port 1251, as "system" user with "oracle" password (Ensure that the driver for Oracle is installed. You can also provide
96-
driver name for some specific driver, otherwise "oracle" will be used), then configure the plugin with:
98+
driver name for some specific driver, otherwise "oracle" will be used).
9799

98100
```
99101
Reference Name: "snk1"
100102
Driver Name: "oracle"
101103
Host: "localhost"
102104
Port: 1251
103-
Database: "XE"
105+
Connection Type: "Service Name"
106+
SID/Service Name/TNS Connect Descriptor: "XE"
104107
Table Name: "users"
108+
Schema Name: "myschema"
105109
Username: "system"
106110
Password: "oracle"
107111
```

oracle-plugin/docs/Oracle-batchsource.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ Reference Name: "src1"
116116
Driver Name: "oracle"
117117
Host: "localhost"
118118
Port: 1251
119-
Database: "XE"
119+
Connection Type: "Service Name"
120+
SID/Service Name/TNS Connect Descriptor: "XE"
120121
Import Query: "select id, name, email, phone from users;"
121122
Number of Splits to Generate: 1
122123
Username: "system"

oracle-plugin/docs/Oracle-postaction.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ set to false. For drivers like those, you will need to set this to 'true'.
5454

5555
Example
5656
-------
57-
Suppose you want to delete all records from Oracle table "userEvents" of database "XE" running on localhost, port 3306,
57+
Suppose you want to delete all records from Oracle table "userEvents" of database (service name) "XE" running on localhost, port 3306,
5858
without authentication using driver "oracle" if the pipeline completes successfully (Ensure that the driver for Oracle is
5959
installed. You can also driver name for some specific driver, otherwise "oracle" will be used ),
6060
then configure the plugin with:
@@ -65,7 +65,8 @@ Driver Name: "oracle"
6565
Query: "delete * from userEvents"
6666
Host: "localhost"
6767
Port: 1251
68-
Database: "XE"
68+
Connection Type: "Service Name"
69+
SID/Service Name/TNS Connect Descriptor: "XE"
6970
Username: "system"
7071
Password: "oracle"
7172
Default Batch Value: 10

0 commit comments

Comments
 (0)