Oracle® HTML DB
Release 2.0
  Go To Table Of Contents
Contents

Previous
Previous
Next
Next
 

Installing Export Files

There are two ways to install export files:

Topics:

Installing Files from the Export Repository

After you import files into the target Oracle HTML DB instance, you must install them before they can become active or available in Application Builder.

To install files stored in the Export Repository:

  1. Navigate to the Workspace home page.

  2. Click the Application Builder icon.

  3. Select an application.

  4. On the Application Builder home page, click Export/Import.

  5. Select View Repository on the bottom of the page.

  6. Select the file to be installed and click Install in the Action column adjacent to the appropriate file.

    1. From Parse As Schema, select a schema.

      This is the schema against which all of the application's SQL and PL/SQL will be parsed.

    2. From Build Status, select one of the following:

      • Run Application Only

      • Run and Build Application

      Select Run Application Only to run the application in the target instance, but make it inaccessible to developers. See "Changing Application Build Status" .

    3. From Install As Application, select one of the following:

      • Reuse Application ID from Export File

      • Auto Assign New Application ID

      • Change Application ID

      Use these options to avoid application ID conflicts. These options come in handy when you need to have two versions of the same application in the same instance. For example, you might be migrating an application to a production instance, but still need to maintain development version.

    4. Click Install Application.

In addition to installing files, you can also use this page to delete a file from the Export Repository.

To delete a file from the Export Repository:

  1. Navigate to the Export Repository.

  2. Select the file to be deleted Delete Checked.

Installing Export Files from SQL*Plus

You can also install export files from SQL*Plus. Note there are two restrictions:

  • The export file must originate from the same workspace as the one into which you are installing.

  • If the export file is an application, the application ID will be overwritten. Therefore, the target workspace must own the ID of the application being installed.

Topics:

Verifying If Source and Target Workspace IDs Are Identical

You can verify that the source and target workspace IDs are identical by running query in SQL Command Processor.

To verify that the source and target workspace IDs are identical:

  1. Log in to the source workspace.

  2. Click the SQL Workshop icon on the Workspace home page.

  3. Click SQL Commands.

  4. Enter the following in the SQL editor pane and click Run.

    SELECT &WORKSPACE_ID. FROM DUAL
    
    
  5. Make note of workspace ID.

  6. Log in to the target workspace.

  7. Repeat steps 2 through 5 to verify the workspace IDs match.

Using SQL*Plus to Install Export Files

To install Oracle HTML DB export files from SQL*Plus:

  1. Log in to SQL*Plus as a user account that has access to your workspace (in other words, the workspace has been mapped to the schema).

  2. Run the export file.

    For example, if your export file is names f144.sql by default, you would type @f144 at the command prompt.