Project

General

Profile

« Previous | Next » 

Revision 452

Added by bojilova about 24 years ago

store generated Access# in meta_file_id tag if there are any

View differences:

src/edu/ucsb/nceas/metacat/DBSAXNode.java
97 97
          pstmt.setLong(4, getRootNodeID());
98 98
          pstmt.setLong(5, getNodeID());
99 99
          pstmt.setString(6, getDocID());
100
          pstmt.setString(7, data);
100
          if ( nodetype == "TEXT" && getTagName().equals("meta_file_id") ) {
101
            pstmt.setString(7, getDocID());
102
          } else {
103
            pstmt.setString(7, data);
104
          }  
101 105
          pstmt.setInt(8, incChildNum());
102 106
        }
103 107
      }

Also available in: Unified diff