Connecting to a Work Repository

Administering the Oracle Data Integrator Repositories 3-9

3.8.1 Attaching and Deleting a Work Repository

Attaching a work repository consists of linking an existing work repository to the current master repository. This existing work repository already exists in the database and has been previously detached from this or another master repository. Deleting a work repository deletes its link to the master repository. This is an opposite operation to attaching. This operation does not destroy the work repository content. Attaching a Work Repository To attach a work repository to a master repository:

1. In the Topology Navigator, go to the Repositories panel.

2. Right-click the Work Repositories node and select New Work Repository.

The Create Work Repository Wizard opens. 3. Specify the Oracle Data Integrator work repository connection details as follows: ■ Technology: From the list, select the technology that will host your work repository. Default is Oracle. ■ JDBC Driver : The driver used to access the technology, that will host the repository. ■ JDBC URL: The complete path of the data server to host the work repository. Note that the parameters JDBC Driver and URL are synchronized and the default values are technology dependant ■ User: User ID login of the owner of the tables you are going to create and host of the work repository. ■ Password: This users password.

4. Click Test Connection to check the connection is working.

5. Click Next.

6. Specify the Password of the Oracle Data Integrator work repository to attach.

7. Click Next.

8. Specify the Name of the Oracle Data Integrator work repository to attach.

9. Click Finish.

Deleting a Work Repository To delete the link to the master repository:

1. In the Topology Navigator, go to the Repositories panel.

2. Expand the Work Repositories node and right-click the work repository you want to delete.

3. Select Delete.

4. In the Confirmation dialog click Yes.

5. The work repository is detached from the master repository and is deleted from the Repositories panel in Topology Navigator. 3-10 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator

3.8.2 Erasing a Work Repository

Deleting a work repository is equivalent to detaching a work repository from the master repository. For more information, refer to Section 3.8.1, Attaching and Deleting a Work Repository . Erasing a work repository consists of deleting the work repository from the database. Erasing a Work Repository To erase a work repository from the database:

1. In the Topology Navigator, go to the Repositories panel.

2. Expand the Work Repositories node and right-click the work repository you want

to delete.

3. Select Erase from Database.

4. In the Confirmation dialog click Yes, if you want to definitively erase the work

repository from the database.

5. The work repository is erased from the database and is deleted from the

Repositories panel in Topology Navigator.

3.8.3 Renumbering Repositories

Renumbering a repository consists of changing the repository ID and the internal ID of the objects stored in the repository. Renumbering a repository is advised when two repositories have been created with the same ID. Renumbering one of these repositories allows object importexport between these repositories without object conflicts. Renumbering a Work Repository To renumber a work repository:

1. In the Topology Navigator, go to the Repositories panel.

2. Expand the Work Repositories node and right-click the work repository you want to renumber. 3. Select Renumber...

4. In the Renumbering the Repository - Step 1 dialog click Yes.

5. In the Renumbering the Repository - Step 2 dialog click OK.

6. In the Renumbering the Repository - Step 3 dialog enter a new and unique ID for the work repository and click OK. WARNING: Erasing your work repository is an irreversible operation. All information stored in the work repository will be definitively deleted, including the metadata of your models, projects and run-time information such as scenarios, schedules, and logs. WARNING: Renumbering a repository is an administrative operation that requires you to perform a backup of the repository that will b renumbered on the database.