JavaDoc


Tracer

org.dbreplicator.replication.xml
Class Tracer

java.lang.Object
  extended by org.dbreplicator.replication.xml.Tracer

public class Tracer
extends java.lang.Object

This class is used in handling the case of tracing the records at the time of shadow table search for the records with same pk or with same common_id. Tracer keeps track of this trace.


Field Summary
 java.lang.Object[] oldRow
           
 java.lang.Object[] primaryKeyValues
           
 boolean recordFound
           
 java.sql.ResultSet rs
           
 java.lang.String type
           
 
Constructor Summary
Tracer()
           
 
Method Summary
 void setOldRow(java.sql.ResultSet rs)
          set original record from shadow table only once during call for getLastReocrd in operationUpdate or OperationDelete
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public java.lang.String type

recordFound

public boolean recordFound

rs

public java.sql.ResultSet rs

oldRow

public java.lang.Object[] oldRow

primaryKeyValues

public java.lang.Object[] primaryKeyValues
Constructor Detail

Tracer

public Tracer()
Method Detail

setOldRow

public void setOldRow(java.sql.ResultSet rs)
               throws java.sql.SQLException
set original record from shadow table only once during call for getLastReocrd in operationUpdate or OperationDelete

Parameters:
rs -
Throws:
java.sql.SQLException



Powered by Drupal - Theme by Danger4k