Oracle Execute Action

Plugin version: 1.10.0

Action that runs an Oracle command.

The action can be used whenever you want to run Oracle command before or after a data pipeline. For example, you might want to run an SQL update command on a database before the pipeline source pulls data from tables.

Configuration

Property

Macro Enabled?

Description

Property

Macro Enabled?

Description

Driver Name

No

Required. Name of the JDBC driver to use.

Default is oracle.

Host

Yes

Required. Host that Oracle is running on.

Default is localhost.

Port

Yes

Required. Port that Oracle is running on.

Default is 1521.

Connection Type

No

Required. Whether to use an SID, Service Name, or TNS Connect Descriptor when connecting to the database.

SID/Service Name/TNS Connect Descriptor

Yes

Required. Oracle connection point (Database name, Service name, or a TNS Connect Descriptor). When using TNS, place the full TNS Connect Descriptor in the text field. For example: (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 123.123.123.123)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED) (SERVICE_NAME = XE)))

Database Command

Yes

Required. Database command to execute.

Username

Yes

Optional. User identity for connecting to the specified database.

Password

Yes

Optional. Password to use to connect to the specified database.

Connection Arguments

Yes

Optional. A list of arbitrary string key/value pairs as connection arguments. These arguments will be passed to the JDBC driver as connection arguments for JDBC drivers that may need additional configurations.

Default Batch Value

No

Optional. The default batch value that triggers an execution request.

Default is 10.

Example

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

Property

Value

Property

Value

Driver Name

oracle

Host

localhost

Port

1251

Connection Type

Service Name

SID/Service Name/TNS Connect Descriptor

XE

Database Command

UPDATE table_name SET price = 20 WHERE ID = 6

Username

system

Password

oracle

Default Batch Value

10

 

Created in 2020 by Google Inc.