Project

General

Profile

« Previous | Next » 

Revision 752

Added by bojilova almost 23 years ago

change the call from getDateString() to getDateFunction()

View differences:

src/edu/ucsb/nceas/metacat/DocumentImpl.java
641 641
                                 String catalogid, int serverCode) 
642 642
               throws SQLException, Exception {
643 643

  
644
    String sysdate = dbAdapter.getDateString();
644
    String sysdate = dbAdapter.getDateFunction();
645 645

  
646 646
    try {
647 647
      PreparedStatement pstmt = null;
......
1085 1085
  private static void archiveDocRevision(Connection conn, String docid,
1086 1086
                                         String user) 
1087 1087
                                         throws SQLException {
1088
    String sysdate = dbAdapter.getDateString();
1088
    String sysdate = dbAdapter.getDateFunction();
1089 1089
    
1090 1090
    // create a record in xml_revisions table 
1091 1091
    // for that document as selected from xml_documents

Also available in: Unified diff