Chapter 11 Managing Object Replications


Desynchronizing replicated attributes, replicated collections and sub-replications

By default, when you replicate an object, all its attributes, collections and sub-objects are also replicated, as you want a local copy of the original object while preserving the link to it. Thus, all replica attributes, collections and sub-objects are synchronized with those of the original object, except when their name and code have been renamed to preserve uniqueness. All attributes appear grayed-out in the replica property sheet, as they cannot be modified.

However, you may wish to desynchronize some of the attributes from those of the original object to meet specific needs. Thus, every time you modify the original object, the desynchronized attributes, collections or sub-objects will not be modified. The desynchronized items are no longer grayed-out in the property sheet and can be modified.

Sub-replication desynchronization

You perform a sub-replication when you replicate an object that owns sub-objects (a table that contains columns for example), as its sub-objects are also replicated. These sub-objects also contain attributes, collections and sub-objects that you can desynchronize.

Unlike replicas, for which you desynchronize attributes and collections directly in their respective page in the replication property sheet, the desynchronization of sub-replications occurs in its own property sheet named Sub-Replication property sheet that you open from the replication property sheet.

Steps To desynchronize replicated attributes, replicated collections and sub-replications:

  1. Double-click a replica to open its property sheet.
  2. Select the Version Info tab to display the corresponding page.
  3. Click the Replication Properties button in the Replicated From groupbox.

    The replication property sheet appears.
  4. Click the tab in which you want to desynchronize items.
  5. Clear the check boxes that correspond to items you do not want to synchronize.
  6. (For sub-replications only). Double-click the sub-replication for which you want to desynchronize items to open the sub-replication property sheet, clear the check boxes that correspond to items you do not want to synchronize from the different tabs in the sub-replication property sheet and click OK.
  7. Click OK.

    Next time you modify the original object, the desynchronized items will not be synchronized in the replica.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.