Project

General

Profile

« Previous | Next » 

Revision 2721

Added by Jing Tao about 19 years ago

Add method as parent class adding a method.

View differences:

src/edu/ucsb/nceas/dbadapter/OracleAdapter.java
99 99
    return "'";
100 100
  }
101 101
  
102
 
103 102
  
103
  /**
104
   * Return a hard code string to get xml_document list in timed replcation
105
   */
106
  public String getReplicationDocumentListSQL()
107
  {
108
      String sql ="select a.docid, a.rev, a.doctype from xml_documents a, xml_revisions b where a.docid=b.docid(+) and  a.rev<=b.rev(+) and b.docid is null ";
109
      return sql;
110
  }
111
  
104 112
}
105 113
    

Also available in: Unified diff