24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WORKING WITH THE REPOSITORY > WORKING WITH OBJECTS IN THE REPOSITORY<br />

Resolving Check-in and Merge Conflicts<br />

The following describes the logic behind conflict detection resolutions:<br />

A conflict arises when there is a difference between the version in the Repository and the version checked out to<br />

a user. In these instances, you can resolve the data conflict by choosing to accept your version, the Repository<br />

version or a combination of both. A common scenario arises when multiple, simultaneous changes have been<br />

made to a model. There are three general types of Repository conflicts:<br />

• An item was updated in a local copy but deleted in the Repository version.<br />

• An item was deleted in a local copy but updated in the Repository version.<br />

• An item was updated in a local copy and was updated differently in the Repository version.<br />

Conflicts of type 1 and 2: Have a check box, which if selected indicates that the local version will be applied.<br />

(You can view the properties of the item or table updated in the local diagram by expanding the item. Only those<br />

properties that have been updated will be displayed).<br />

If you select the check box of this conflict item, Table A will be applied to the local and the Repository version of<br />

the diagram; the table will not be deleted. However, if the user clears the check box, the remote version of the<br />

diagram will be applied to the local version - the table will be deleted in the local version of the diagram.<br />

A converse example: an item is deleted locally but updated in the Repository. You can view the properties and<br />

the new table values (i.e. see how the table was updated by other users) by expanding the item. Only properties<br />

whose values changed will be displayed. If you select the check box of the conflict item, the local version will be<br />

applied - the table will be deleted in the local version and the Repository version of the diagram. If you do not<br />

select the check box, the table will be updated in the local version of the diagram.<br />

Conflicts of type 3: the Review Changes and Resolve Conflicts dialog box will display each new name<br />

underneath the table conflict item. The first name property item (new name item) will display the local value for<br />

the table name (i.e. the name decided upon by the local user). The second item will display the new value for the<br />

table name as it appears in the Repository version of the diagram. Each item has an option button. If you click<br />

the option button of the <strong>ER</strong>/<strong>Studio</strong> version of the table name, the local name version will be applied to the<br />

Repository and the local <strong>ER</strong>/<strong>Studio</strong> version. If you select the Repository version, that name will go into effect in<br />

the local version of the diagram (and stay in effect in the Repository).<br />

Common check-in conflicts and their resolution are summarized in the table below.<br />

Conflict Resolution<br />

<strong>ER</strong>/<strong>Studio</strong> Repository<br />

Unchanged Modified Soft, does not show up in dialog, chooses Repository side.<br />

Unchanged Deleted Soft, does not show up in dialog, chooses Repository.<br />

Unchanged Unchanged Not a conflict, does not show up in dialog.<br />

Modified Unchanged Soft, shows up in dialog with Review Changes enabled, defaults to <strong>ER</strong>/<strong>Studio</strong>.<br />

Deleted Unchanged Soft, shows up in dialog with Review Changes enabled, defaults to <strong>ER</strong>/<strong>Studio</strong>.<br />

Modified Modified Hard, shows up in dialog, defaults to <strong>ER</strong>/<strong>Studio</strong>.<br />

Modified Deleted Hard, show up in dialog, defaults to Repository.<br />

Deleted Modified No conflict, shows up in dialog with Review Changes enabled, defaults to<br />

<strong>ER</strong>/<strong>Studio</strong><br />

Does Not Exist New No conflict, does not show up in dialog, defaults to Repository.<br />

New New Not indicated as conflicts in dialog and are resolved either by renaming one of<br />

the objects in <strong>ER</strong>/<strong>Studio</strong>, or by deleting one of the objects or properties.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 284

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!