Project

General

Profile

« Previous | Next » 

Revision 413

Added by bojilova over 24 years ago

for getDoctypes() added
WHERE entry_type='DTD' condition in the select statement

View differences:

src/edu/ucsb/nceas/metacat/DBUtil.java
93 93
    try {
94 94

  
95 95
      PreparedStatement pstmt =
96
        conn.prepareStatement("SELECT public_id FROM xml_catalog");
96
        conn.prepareStatement("SELECT public_id FROM xml_catalog " +
97
                              "WHERE entry_type = 'DTD'");
97 98

  
98 99
      pstmt.execute();
99 100
      ResultSet rs = pstmt.getResultSet();

Also available in: Unified diff