Project

General

Profile

« Previous | Next » 

Revision 815

Added by bojilova over 23 years ago

look for relationship "isRelatedTo" b' that is the word that is used in the triples

View differences:

src/edu/ucsb/nceas/metacat/AccessControlList.java
385 385
    PreparedStatement pstmt = conn.prepareStatement(
386 386
                             "SELECT object FROM xml_relation " +
387 387
                             "WHERE subject = ? " + 
388
                             "AND relationship = 'isAccessFileFor'");
388
                             "AND relationship = 'isRelatedTo'");
389 389
    pstmt.setString(1,aclid);
390 390
    pstmt.execute();
391 391
    ResultSet rs = pstmt.getResultSet();

Also available in: Unified diff