Configuring an Oracle database

You can use Oracle as a supporting database with IBM® UrbanCode™ Release server. Create the database before you install IBM UrbanCode Release. Typically the database is installed on a computer other than the one where the server is located.

When you install IBM UrbanCode Release, you need the database connection information and the JDBC JAR file. The user account for the database must have at a minimum the following privileges:
Oracle Version 11g or later is supported for each of the following editions.
  • Oracle Database Enterprise
  • Oracle Database Standard
  • Oracle Database Standard One
  • Oracle Database Express

The server expects data from the database to be encoded in UTF-8.

No specific parametrization, optimization setting, or histogram generation is required. The server does not require n* types, such as nchar, nvarchar2 and nclob. The server does not support multiple databases.

The IBM UrbanCode Release database consists of approximately fifty tables. While storage requirements vary by installation, database storage of 10-20 GB is sufficient for most installations.

  • If upgrading to Oracle Version 12c, you must edit the file on the server and add the following line of code:
  • If upgrading to Oracle Version 19c, download the ODBC8 driver should be downloaded from Oracle website and that should be placed in the /urbandcode_release_dir/lib/ext directory.

Ensure that the hibernate.connection.url property in the file points to the updated database.

Finally, update the JDBC driver in the /urbandcode_release_dir/server/tomcat/lib/ext directory.

To configure an oracle database complete the following procedure:

  1. Obtain the Oracle JDBC driver JAR file for the edition of Oracle that you are using. The JDBC JAR file is included with the Oracle installation files. This file must be available when you run the install program.
  2. Record the values of the database parameters so that you can supply them when you install IBM UrbanCode Release. The following parameters are typical for an installation of Oracle used to support IBM UrbanCode Release:
    Parameter Value
    Database user name ibm_ucr
    Database password user_account_password
    Database driver class oracle.jdbc.driver.OracleDriver
    Database connection string Provide the JDBC connection string. The format depends on the JDBC driver. Typically, it is similar to the following code:
    For example:
    In the case of Oracle RAC, you might need to specify properties in the connection string in the format of the following example:
    If you have more than one server, specify the host name and port of each server, as in the following example:
    Note: Set the database schema to use as the user's default schema.