Difference between revisions of "Oracle database connection"

From Fusion Registry Wiki
Jump to navigation Jump to search
(JDBC Drivers)
(Configuring the Oracle Database Connection)
Line 18: Line 18:
 
=Configuring the Oracle Database Connection=
 
=Configuring the Oracle Database Connection=
 
==Operating Database==
 
==Operating Database==
 +
Configure the operating database connection either on first install of the Fusion Registry Core webapp, or in service when to need to change to a different database.
 +
 +
====Simple Configuration====
 +
[[File:OracleOperatingSimple.PNG|500px]]
 +
Database Type: Oracle
 +
Server:        The hostname or IP address of the Oracle database server
 +
Port:          The Oracle service port number - usually 1521
 +
Schema:        The Oracle 'service name'
 +
UserId:        The id of a pre-existing Oracle user with sufficient privileges to create and delete tables, and insert, update and delete data
 +
Password:      The password for the Oracle UserId

Revision as of 10:24, 14 January 2021

Overview

Fusion Registry Core supports Oracle for both its main operating database and as a Data Source.

Oracle 11g, 12c, 18c and 19c are supported.

JDBC Drivers

Fusion software does not ship with the Oracle JDBC drivers for licensing reasons. The correct driver for your Oracle database release and Java version can be downloaded from Oracle.

In general, use ojdbc8.jar for Java 8,9 or 11, and ojdbc10.jar for Java 10.

Installing the JDBC Driver

The driver jar needs to be copied to a suitable location on the machine running Fusion Registry. For instance:

c:\oracle\ojdbc8.jar

And needs to be explicitly added to the CLASSPATH. In Tomcat, this can be done in the Tomcat setenv file.

Configuring the Oracle Database Connection

Operating Database

Configure the operating database connection either on first install of the Fusion Registry Core webapp, or in service when to need to change to a different database.

Simple Configuration

OracleOperatingSimple.PNG

Database Type: Oracle
Server:        The hostname or IP address of the Oracle database server
Port:          The Oracle service port number - usually 1521
Schema:        The Oracle 'service name'
UserId:        The id of a pre-existing Oracle user with sufficient privileges to create and delete tables, and insert, update and delete data
Password:      The password for the Oracle UserId