Project

General

Profile

« Previous | Next » 

Revision 4332

Added by daigle over 16 years ago

convert revision number to a Long from a string when putting into database

View differences:

src/edu/ucsb/nceas/metacat/Eml210SAXHandler.java
1908 1908
            // Bind the values to the query
1909 1909
            pstmt.setString(1, docid);
1910 1910
            logMetacat.info("Docid in access-subtreetable: " + docid);
1911
            pstmt.setString(2, revision);
1911
            pstmt.setLong(2, (new Long(revision)).longValue());
1912 1912
            logMetacat.info("rev in accesssubtreetable: " + revision);
1913 1913
            pstmt.setString(3, level);
1914 1914
            logMetacat.info("contorl level in access-subtree table: "

Also available in: Unified diff