Skip to main content
Version: 5.4

Oracle Plug-in

UsernameThe Oracle database is a powerful database for business applications. The OPC Router supports the native connection via the corresponding Oracle client drivers and TNS. You can find a detailed video on this topic under “Connection of database systems” in our tutorial stream.

The following properties can be configured in the Oracle plug-in:

“Connection settings” tab

NameName under which the Oracle database server appears in the connection configuration. Select a name that is unique for you during connection configuration.

Connection type

There are three different connection types available. Various properties can be configured depending on the connection type selected.

Host/IPHost name or IP address of the server.
PortPort under which the Oracle database service can be reached.
DatabaseThe database to which you want to connect.
Note: This property must be set for a successful connection test.
SchemaThe Oracle schema to be used can be selected here.
Windows authenticationIf this option is active, Windows authentication is used instead of the user and password properties. Local user accounts, DCOM users and Windows domain users (NT authentication) are supported. To use Windows authentication, the user under which the OPC Router service is started (by default “System”) must have access rights to the database. To be able to configure, the user under which the configuration environment was started must have access rights to the database.
UserUser name for logging in at the Oracle database server
PasswordPassword for logging in at the Oracle database server

“Advanced connection parameters” tab

Command Time-outTime in seconds that the router waits for the completion of an SQL command. It may be necessary to increase the value for long-lasting queries. Please note that the connection timeout must also be increased for connections in which long queries are being executed.
Connection Time-outTime in seconds that a connection to the database may take.
Concurrent connectionsNumber of concurrent connections that the router may establish to the database. The more simultaneous connections are allowed, the faster the router is, but this can slow down the database. Ask your database administrator how many connections they allow the router. Of course, this also depends on the size of the project.
Polling intervalInterval in seconds at which the database is polled.

“Advanced” tab

Bracket behaviorThis property determines when and how square brackets are used in your Oracle plugin. A detailed explanation of the individual options can be found here.
Convert Boolean valuesIf this option is active, the values “1”, “y”, “t” are converted to true and “0”, “n”, “f” to false values.
Oracle append schemaIf this option is active, the schema is added to the identifier. A brief explanation can be found here.
Oracle column data type sourceThis property determines how the data types of the columns are to be handled. A more detailed explanation can be found here.
Oracle homeDirectory in which the Oracle Client software was installed.
Include Oracle packagesIf this option is active, stored procedures that are located in packages are also listed.

Bracket behavior

  • Put in quotation marks if dot is present: This mode is intended for backward compatibility. If a dot (.) is contained in an identifier, quotation marks are added. This is useful if you have database objects with dots in their names, such as datenbank.schema."tabelle.name".
  • Never put in quotation marks: In this mode, no double quotes are added, regardless of the identifier. This can be useful if you are sure that your identifiers do not contain special characters or spaces.
  • Always use double quotes: In this mode, double quotes are always added. This is useful if your identifiers may contain special characters, spaces, or reserved words.
note

Please note that in Oracle, the use of double quotes is used to escape identifiers that would otherwise be interpreted as reserved words. It also allows the use of special characters and spaces in identifiers.

Oracle append schema

  • Legacy: Same behavior as in previous versions.
  • Yes: The schema is always being added to the identifier. This is useful if you are working with multiple schemas in the same database and want to ensure that the correct tables and views are used.
  • No: The schema is not being added to the identifier. This can be useful if you are only working with one schema or if you want to have full control over the SQL statements generated by the plugin.

Oracle column data type source

  • Auto: The data types are converted to the most appropriate data type when reading. This can simplify the transfer of data to another system.
  • Data Reader: The data types are retained when reading and are not being converted. This setting is helpful if it is important to retain the exact data types.