rpsSuppressTransactionDeletes

rpsSuppressTransactionDeletes();

The rpsSuppressTransactionDeletes method of the Process class specifies on a primary system those transactions for which deletions are not to be replicated to the relational database by an RPS Datapump application on a secondary system. This allows selected operations on the primary system (for example, housekeeping, and archiving tasks) to be performed without affecting relational database replicas.

The rpsSuppressTransactionDeletes method is called after executing the beginTransaction instruction and before executing the commitTransaction instruction; it does not have to precede the first object deletion, as shown in the following code fragment.

beginTransaction;
    delete obj1;
    process.rpsSuppressTransactionDeletes;
    delete obj2;
commitTransaction;  // Delete obj1 and obj2 not replicated in relational db

When the process exits transaction state, replication of deletes is no longer suppressed. An exception is raised if the method is called outside transaction state.