Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 72 of 179


COMMENT_ON_conflicttype_RESOLUTION procedure

This procedure updates the comment field in the DBA_REPRESOLUTION view for a conflict resolution routine. The procedure that you need to call is determined by the type of conflict that the routine resolves. These procedures must be issued at the master definition site.

Table 8-121 COMMENT_ON_conflicttype_RESOLUTION Procedures
Conflict Type  Procedure Name 

update 

COMMENT_ON_UPDATE_RESOLUTION
 

uniqueness 

COMMENT_ON_UNIQUE_RESOLUTION
 

delete 

COMMENT_ON_DELETE_RESOLUTION
 

The comment is not added at all master sites until the next call to GENERATE_REPLICATION_SUPPORT.

Syntax

DBMS_REPCAT.COMMENT_ON_UPDATE_RESOLUTION (
   sname                 IN   VARCHAR2,
   oname                 IN   VARCHAR2,
   column_group          IN   VARCHAR2,
   sequence_no           IN   NUMBER, 
   comment               IN   VARCHAR2);

DBMS_REPCAT.COMMENT_ON_UNIQUE_RESOLUTION (
   sname                 IN   VARCHAR2,
   oname                 IN   VARCHAR2,
   constraint_name       IN   VARCHAR2,
   sequence_no           IN   NUMBER, 
   comment               IN   VARCHAR2);

DBMS_REPCAT.COMMENT_ON_DELETE_RESOLUTION (
   sname                 IN   VARCHAR2,
   oname                 IN   VARCHAR2,
   sequence_no           IN   NUMBER, 
   comment               IN   VARCHAR2);

Parameters

Table 8-122 COMMENT_ON_conflicttype_RESOLUTION Procedure Parameters
Parameter  Description 
sname
 

Name of the schema. 

oname
 

Name of the replicated table with which the conflict resolution routine is associated. 

column_group
 

Name of the column group with which the update conflict resolution routine is associated. 

constraint_name
 

Name of the unique constraint with which the uniqueness conflict resolution routine is associated. 

sequence_no
 

Sequence number of the conflict resolution procedure. 

comment
 

The text of the updated comment that you want included in the RESOLUTION_COMMENT field of the DBA_REPRESOLUTION view. 

Exceptions

Table 8-123 COMMENT_ON_conflicttype_RESOLUTION Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

missingobject
 

Specified object does not exist. 

missingresolution
 

Specified conflict resolution routine is not registered. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index