OracleConnection Members
OracleConnection
members are listed in the following tables.
OracleConnection Constructors
OracleConnection
constructors are listed in Table 7-41.
Table 7-41 OracleConnection Constructors
Constructor | Description |
---|---|
Instantiates a new instance of the |
OracleConnection Static Properties
The OracleConnection
static property is listed in Table 7-43.
Table 7-42 OracleConnection Static Property
Property | Description |
---|---|
Indicates whether or not the implicit database connection is available for use |
OracleConnection Static Methods
The OracleConnection
static methods are listed in Table 7-43.
Table 7-43 OracleConnection Static Methods
Method | Description |
---|---|
|
Inherited from |
Clears the connection pool that is associated with the provided Not supported in a .NET stored procedure |
|
Clears all connections from all the connection pools Not supported in a .NET stored procedure |
OracleConnection Properties
OracleConnection
properties are listed in Table 7-44.
Table 7-44 OracleConnection Properties
Property | Description |
---|---|
Used to get or set |
|
Specifies the action name for the connection |
|
Indicates whether to allow the user to select a specific TLS/SSL certificate via a graphical interface for their database connection when using a MCS wallet location Not Available in ODP.NET, Unmanaged Driver |
|
This setting pauses the connection request until the migration completes or fails to migrate in the specified time, then connect to the correct shard with the data requested. Not Available in ODP.NET, Unmanaged Driver |
|
Specifies the client identifier for the connection |
|
Specifies the client information for the connection |
|
Specifies connection information used to connect to an Oracle database |
|
Indicates the maximum amount of time that the |
|
Determines whether a particular connection object is associated with a TimesTen database connection, an Oracle database connection, or no physical connection Not Available in ODP.NET, Managed Driver and ODP.NET Core |
|
|
Inherited from |
Used to get or set an |
|
Not Supported |
|
Specifies the name of the database domain to which the connection is set |
|
Sets or gets the edition name for the |
|
Specifies the name of the database to which the connection is set |
|
Specifies the Oracle Net Services Name, Connect Descriptor, or an easy connect naming that identifies the database to which to connect |
|
Specifies a logical name that identifies the DRCP connection pool that the ODP.NET connection will use |
|
Specifies whether an application can reuse a pooled session ( |
|
Specifies the name of the host to which the connection is set |
|
Specifies the name of the instance to which the connection is set |
|
Specifies whether to keep an idle connection alive. Not Available in ODP.NET, Unmanaged Driver |
|
Specifies the time interval after an unacknowledged probe before a new probe is sent. Not Available in ODP.NET, Unmanaged Driver |
|
Specifies the idle time before a keepalive probe is sent. Not Available in ODP.NET, Unmanaged Driver |
|
Specifies the module name for the connection |
|
Gets or sets the Oracle Cloud Identifier (OCID) of the target database's compartment |
|
Gets or sets the target database's Oracle Cloud Identifier (OCID) |
|
Gets or sets the URL end point for getting the database token |
|
Gets or sets the Oracle Cloud Identifier (OCID) of the IAM user’s cloud tenancy to retrieve the database token |
|
Sets the connection |
|
Used to set and get the name of the pluggable database to which the session is connected to |
|
Specifies the ODP.NET assembly version |
|
Specifies the version number of the Oracle database to which the |
|
Specifies the name of the service to which the connection is set |
|
|
Inherited from |
Enables one or more authentication services, such as TCP/IP with SSL. |
|
Specifies the current state of the connection |
|
Specifies the current size of the statement cache associated with this connection |
|
If the returned pooled connection changed its service name ( |
|
Specifies the directory location of Not Available in ODP.NET, Unmanaged Driver |
|
Sets the value for |
|
Gets or sets the token location path for the connection where the signature token and private key files are located |
|
Specifies whether the hour offset can be used for the session time zone, when the Oracle time zone region name that is associated with the .NET locale is not supported by the Oracle database being used Not Available in ODP.NET, Unmanaged Driver |
|
Specifies the location of wallets. Wallets are certificates, keys, and trustpoints processed by SSL/TLS Not Available in ODP.NET, Unmanaged Driver |
OracleConnection Public Methods
OracleConnection
public methods are listed in Table 7-45.
Table 7-45 OracleConnection Public Methods
Public Method | Description |
---|---|
Begins a local transaction (Overloaded) Not supported in a .NET stored procedure for context connection |
|
Not Supported |
|
Creates a copy of an Not supported in a .NET stored procedure |
|
Closes the database connection |
|
Creates and returns an |
|
|
Inherited from |
|
Inherited from |
Enables applications to explicitly enlist in a specified distributed transaction Not supported in a .NET stored procedure and .NET Core |
|
Enables applications to enlist in a specified distributed transaction Not supported in a .NET stored procedure |
|
|
Inherited from |
Flushes all updates and deletes made through Not Available in ODP.NET, Managed Driver and ODP.NET Core |
|
|
Inherited from |
|
Inherited from |
Returns schema information for the data source of the |
|
Returns or refreshes the property values of the |
|
|
Inherited from |
|
Inherited from |
Opens a database connection with the property settings specified by the |
|
Opens a new connection with the new password (Overloaded) Not supported in a .NET stored procedure for context connection |
|
This method can be used to open a new connection by providing the refreshed/updated access token directly to ODP.NET instead of through the token refresh call back. |
|
Used by the application to open a new connection by providing the refreshed/updated signature token and private key directly to ODP.NET instead of through the token refresh call back |
|
Flushes the Statement Cache by closing all open cursors on the database, when statement caching is enabled |
|
Alters the session's globalization settings with the property values provided by the |
|
Enables applications to set the sharding key and super sharding key before requesting a connection |
|
|
Inherited from |
OracleConnection Events
OracleConnection
events are listed in Table 7-46.
Table 7-46 OracleConnection Events
Event Name | Description |
---|---|
This event is triggered upon the |
|
|
Inherited from |
An event that is triggered when an Oracle failover occurs Not supported in a .NET stored procedure Not Available in ODP.NET, Managed Driver and ODP.NET Core |
|
An event that is triggered when an HA event occurs |
|
An event that is triggered for any message or warning sent by the database |
|
An event that is triggered when the connection state changes |