Project

General

Profile

« Previous | Next » 

Revision 7310

order the listObjects() results by identifier to mitigate random paged results
https://redmine.dataone.org/issues/3065

View differences:

src/edu/ucsb/nceas/metacat/IdentifierManager.java
1468 1468
                }
1469 1469
            }
1470 1470

  
1471
            // order the results for slicing ops
1472
            sql += " order by guid ";
1473
            
1471 1474
            dbConn = DBConnectionPool.getDBConnection("IdentifierManager.querySystemMetadata");
1472 1475
            serialNumber = dbConn.getCheckOutSerialNumber();
1473 1476
            PreparedStatement stmt = dbConn.prepareStatement(sql);

Also available in: Unified diff