Object Locking Handling Concurrent Changes

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. 18-4 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator 1. Open the Version Browser. 2. Select the version you want to export.

3. Right-click, then select Export.

4. Select the Export Directory and specify the Export Name. Select Replace Existing

Files without Warning to erase existing export files without confirmation.

5. Click OK.

The version is exported to the given location.

18.3 Working with the Version Comparison Tool

Oracle Data Integrator provides a comprehensive version comparison tool. This graphical tool is to view and compare two different versions of an object. The version comparison tool provides the following features: ■ Color-coded side-by-side display of comparison results : The comparison results are displayed in two panes, side-by-side, and the differences between the two compared versions are color coded. ■ Comparison results organized in tree : The tree of the comparison tool displays the comparison results in a hierarchical list of node objects in which expanding and collapsing the nodes is synchronized. ■ Report creation and printing in PDF format : The version comparison tool is able to generate and print a PDF report listing the differences between two particular versions of an object. ■ Supported objects : The version comparison tool supports the following objects: Project, Folder, Package, Scenario, Interface, Procedure, Knowledge Module, Sequence, User Function, Variable, Model, Model folder, and Solution. ■ Difference viewer functionality : This version comparison tool is a difference viewer and is provided only for consultation purposes. Editing or merging object versions is not supported. If you want to edit the object or merge the changes between two versions, you have to make the changes manually directly in the concerned objects.

18.3.1 Viewing the Differences between two Versions

To view the differences between two particular versions of an object, open the Version Comparison tool. There are three different way of opening the version comparison tool: By selecting the object in the Projects tree 1. From the Projects tree in Designer Navigator, select the object whose versions you want to compare. 2. Right-click the object. 3. Select Version Compare with version... 4. In the Compare with version editor, select the version with which you want to compare the current version of the object.

5. Click OK.

6. The Version Comparison tool opens.