Skip to main content
Version: 1.7.0

OracleConn

class OracleConn(
uri: str,
credentials: UserPasswordCredentials | None = None,
enforce_connection_params: bool = True,
cx_src_configs_oracle: dict | None = None,
cx_dst_configs_oracle: dict | None = None,
)

Bases: Conn

Categories: connections

Represents a connection configuration to Oracle.

Initialize an OracleConn instance.

Parameters

parameter
uri

The URI of the Oracle database.

parameter
credentials

Credentials for authenticating with the database.

parameter
enforce_connection_params

Whether to enforce connection parameters for the Oracle connection. Defaults to True.

parameter
cx_src_configs_oracle

Source-specific configuration parameters for the Oracle connection. Defaults to None.

parameter
cx_dst_configs_oracle

Destination-specific configuration parameters for the Oracle connection. Defaults to None.

Raises

ConnectionConfigurationError: If any connection configurations are invalid.

Properties

property
credentialsUserPasswordCredentials | None

The credentials required to access the Oracle database. If no credentials were provided, it will return None.

property
cx_dst_configs_oracledict

Destination-specific configuration parameters for the Oracle connection.

property
cx_src_configs_oracledict

Source-specific configuration parameters for the Oracle connection.

property
enforce_connection_paramsbool

Whether to enforce connection parameters for the Oracle connection.

property
uristr

The URI of the database where the data is located.