Oracle7 Server Distributed Systems Volume II: Replicated Data

Contents Index Home Previous Next

Changing a Conflict Resolution Routine

To change the conflict resolution method used for a table, you need to complete the following steps:

Generating Replication Procedures

To generate the supporting package for a replicated object at all master sites, as well as the audit tables and conflict resolution packages, call the DBMS_REPCAT.GENERATE_REPLICATION_PACKAGE procedure, as shown in the following example:

DBMS_REPCAT.GENERATE_REPLICATION_PACKAGE( sname => 'acct_rec',
                                          oname => 'inventory');

You must call this procedure from the master definition site for the given replicated object. Oracle must successfully create the necessary packages at the master definition site for this procedure to complete successfully. These objects are asynchronously created at the other master sites as described [*].

Additional Information: The parameters for the GENERATE_REPLICATION_PACKAGE procedure are described in Table 12 - 143, and the exceptions are listed in Table 12 - 144.


Contents Index Home Previous Next