Project

General

Profile

« Previous | Next » 

Revision 6798

Added by Chris Jones over 12 years ago

Change the query semantics such that we implement the MN.listObjects() where the lower datetime bound is inclusive (greater than or equal to" and the upper datetime bound in exclusive (less than). This allows easier paging in client applications.

View differences:

src/edu/ucsb/nceas/metacat/IdentifierManager.java
1402 1402
            boolean f3 = false;
1403 1403
            
1404 1404
            if (startTime != null) {
1405
                sql += " where systemmetadata.date_modified > ?";
1405
                sql += " where systemmetadata.date_modified >= ?";
1406 1406
                f1 = true;
1407 1407
            }
1408 1408
            

Also available in: Unified diff