Project

General

Profile

« Previous | Next » 

Revision 754

Added by bojilova over 23 years ago

change the call from getDateFunction() to getDateTimeFunction()

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.getDateFunction();
644
    String sysdate = dbAdapter.getDateTimeFunction();
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.getDateFunction();
1088
    String sysdate = dbAdapter.getDateTimeFunction();
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