Concurrent Editing Check Handling Concurrent Changes

18-2 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator When an object is inserted, updated or deleted, its parent objects are recursively flagged as updated. For example, when a step is inserted into a package, it is flagged as inserted, and the package, folders and project containing this step are flagged as updated . When an object version is checked in Refer to Section 18.2, Working with Versions for more information., the flags on this object are reset.

18.2 Working with Versions

A version is a backup copy of an object. It is checked in at a given time and may be restored later. Versions are saved in the master repository. They are displayed in the Version tab of the object window. The following objects can be checked in as versions: ■ Project, Folder ■ Package, Scenario ■ Interface, Procedure, Knowledge Module ■ Sequence, User Function, Variable ■ Model, Model Folder ■ Solution ■ Load Plan Checking in a version To check in a version: 1. Select the object for which you want to check in a version. 2. Right-click, then select Version Create...

3. In the Create dialog, click Previous Versions to expand the list of versions

already checked in. 4. A version number is automatically generated in the Version field. Modify this version number if necessary. 5. Enter the details for this version in the Description field.

6. Click OK.

When a version is checked in, the flags for the object are reset. Displaying previous versions of an object To display previous versions of an object: When editing the object, the Version tab provides a list of versions checked in, with the check in date and the name of the user who performed the check in operation. Restoring a version To restore a version: 1. Select the object for which you want to restore a version. 2. Right-click, then select Version Restore... 3. The Restore dialog displays the list of existing versions. Working with Version Management 18-3

4. Select the version you want to restore and click OK.

5. Click OK to confirm the restore operation.

Browsing versions To browse versions: Oracle Data Integrator contains a tool, the Version Browser, which is used to display the versions stored in the repository. 1. From the main menu, select ODI Version Browser...

2. Use the object Type and object Name drop-down lists to filter the objects for which

you want to display the list of versions. From the Version Browser, you can restore a version, export a version as an XML file or delete an existing version. Deleting a version with the Version Browser To delete a version with the Version Browser: 1. Open the Version Browser. 2. Select the version you want to delete.

3. Right-click, then select Delete.

The version is deleted. Restoring a version with the Version Browser To restore a version with the Version Browser: 1. Open the Version Browser. 2. Select the version you want to restore.

3. Right-click, then select Restore.

4. Click OK to confirm the restore operation.

The version is restored in the repository. Exporting a version with the Version Browser To export a version with the Version Browser: This operation exports the version to a file without restoring it. This export can be imported in another repository. WARNING: Restoring a version cannot be undone. It permanently erases the current object and replaces it by the selected version. Note: The Version Browser displays the versions that existed when you opened it. Click Refresh to view all new versions created since then. Note: Exporting a version, exports the object contained in the version and not the version information. This allows you exporting an old version without having to actually restore it in the repository.