Revision 6316
Added by Chris Jones over 13 years ago
src/edu/ucsb/nceas/metacat/IdentifierManager.java | ||
---|---|---|
1633 | 1633 |
//logMetacat.debug("query found doc with guid " + guid); |
1634 | 1634 |
//Timestamp dateUploaded = rs.getTimestamp(2); |
1635 | 1635 |
//String rightsHolder = rs.getString(3); |
1636 |
String checksum = rs.getString(4);
|
|
1637 |
String checksumAlgorithm = rs.getString(5);
|
|
1636 |
String checksum = rs.getString(5);
|
|
1637 |
String checksumAlgorithm = rs.getString(6);
|
|
1638 | 1638 |
//String originMemberNode = rs.getString(6); |
1639 |
String authoritiveMemberNode = rs.getString(7);
|
|
1640 |
Timestamp dateModified = rs.getTimestamp(8);
|
|
1639 |
String authoritiveMemberNode = rs.getString(8);
|
|
1640 |
Timestamp dateModified = rs.getTimestamp(9);
|
|
1641 | 1641 |
//String submitter = rs.getString(9); |
1642 |
String fmtidStr = rs.getString(10);
|
|
1643 |
String sz = rs.getString(11);
|
|
1642 |
String fmtidStr = rs.getString(11);
|
|
1643 |
String sz = rs.getString(12);
|
|
1644 | 1644 |
long size = 0; |
1645 | 1645 |
|
1646 | 1646 |
if (sz != null && !sz.trim().equals("")) { |
... | ... | |
1669 | 1669 |
|
1670 | 1670 |
try { |
1671 | 1671 |
oi.setObjectFormat(ObjectFormatCache.getInstance().getFormat(fmtidStr)); |
1672 |
} catch (Exception e) {
|
|
1672 |
} catch (NotFound e) {
|
|
1673 | 1673 |
logMetacat.warn("could not find object format: " + fmtidStr, e); |
1674 | 1674 |
} |
1675 | 1675 |
|
Also available in: Unified diff
Because of the new 'provisional' column, the resultset field order in querySystemMetadata() was out of order. Changed the order to reflect the new table column order.