Revision 1385
Added by Jing Tao about 22 years ago
src/edu/ucsb/nceas/metacat/MetacatReplication.java | ||
---|---|---|
498 | 498 |
getDBConnection("MetacatReplication.handleForceReplicateRequest"); |
499 | 499 |
serialNumber=dbConn.getCheckOutSerialNumber(); |
500 | 500 |
// write the document to local database |
501 |
DocumentImpl.writeReplication(dbConn, |
|
501 |
DocumentImplWrapper.writeReplication(dbConn,
|
|
502 | 502 |
new StringReader(xmldoc), null, null, dbaction, docid, user, |
503 |
null, homeServer, false, server);
|
|
503 |
null, homeServer, server); |
|
504 | 504 |
|
505 | 505 |
MetacatReplication.replLog("document " + docid + " added to DB with " + |
506 | 506 |
"action " + dbaction); |
Also available in: Unified diff
Add code to handle text code was splited.