Revision 4698
Added by daigle over 15 years ago
DBUtil.java | ||
---|---|---|
48 | 48 |
import org.apache.log4j.Logger; |
49 | 49 |
|
50 | 50 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
51 |
import edu.ucsb.nceas.metacat.util.MetaCatUtil;
|
|
51 |
import edu.ucsb.nceas.metacat.util.MetacatUtil;
|
|
52 | 52 |
import edu.ucsb.nceas.metacat.util.SystemUtil; |
53 | 53 |
import edu.ucsb.nceas.utilities.PropertyNotFoundException; |
54 | 54 |
|
... | ... | |
630 | 630 |
String docType = null; |
631 | 631 |
|
632 | 632 |
// Get docid without rev |
633 |
docIdWithoutRevision = MetaCatUtil.getDocIdFromString(givenDocId);
|
|
633 |
docIdWithoutRevision = MetacatUtil.getDocIdFromString(givenDocId);
|
|
634 | 634 |
// SQL comand is: |
635 | 635 |
sqlCommand = "select rev, doctype from xml_documents where docid like ?"; |
636 | 636 |
|
... | ... | |
702 | 702 |
DBConnection dbConn = null; |
703 | 703 |
int serialNumber = -1; |
704 | 704 |
// get rid of rev |
705 |
//docId = MetaCatUtil.getDocIdFromString(docId);
|
|
705 |
//docId = MetacatUtil.getDocIdFromString(docId);
|
|
706 | 706 |
try { |
707 | 707 |
//check out DBConnection |
708 | 708 |
dbConn = DBConnectionPool |
Also available in: Unified diff
Renamed MetaCatUtil to MetacatUtil