Project

General

Profile

« Previous | Next » 

Revision 6318

Added by Chris Jones over 13 years ago

Reverting the resultset order in querySystemMetadata(). Thanks Ben.

View differences:

src/edu/ucsb/nceas/metacat/IdentifierManager.java
1628 1628
                		break;
1629 1629
                	}
1630 1630
                }
1631
                
1631
                                
1632 1632
                String guid = rs.getString(1);
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(5);
1637
                String checksumAlgorithm = rs.getString(6);
1636
                String checksum = rs.getString(4);
1637
                String checksumAlgorithm = rs.getString(5);
1638 1638
                //String originMemberNode = rs.getString(6);
1639
                String authoritiveMemberNode = rs.getString(8);
1640
                Timestamp dateModified = rs.getTimestamp(9);
1639
                //String authoritiveMemberNode = rs.getString(7);
1640
                Timestamp dateModified = rs.getTimestamp(8);
1641 1641
                //String submitter = rs.getString(9);
1642
                String fmtidStr = rs.getString(11);
1643
                String sz = rs.getString(12);
1642
                String fmtidStr = rs.getString(10);
1643
                String sz = rs.getString(11);
1644 1644
                long size = 0;
1645 1645
                
1646 1646
                if (sz != null && !sz.trim().equals("")) {

Also available in: Unified diff