Loading src/main/java/it/inaf/oats/vospace/persistence/NodeDAO.java +1 −1 Original line number Diff line number Diff line Loading @@ -563,7 +563,7 @@ public class NodeDAO { + "n.type, n.async_trans, n.sticky, n.job_id IS NOT NULL AS busy_state, n.creator_id, n.group_read, n.group_write,\n" + "n.is_public, n.content_length, n.created_on, n.last_modified, n.accept_views, n.provide_views, n.quota, n.content_md5, n.target\n" + "FROM node n\n" + "WHERE " + String.join(" OR ", Collections.nCopies(vosPaths.size(), "n.node_id = id_from_vos_path(?)")) + "\n" + "WHERE (" + String.join(" OR ", Collections.nCopies(vosPaths.size(), "n.node_id = id_from_vos_path(?)")) + ")\n" + "AND n.type = 'link'\n"; return jdbcTemplate.query(conn -> { Loading Loading
src/main/java/it/inaf/oats/vospace/persistence/NodeDAO.java +1 −1 Original line number Diff line number Diff line Loading @@ -563,7 +563,7 @@ public class NodeDAO { + "n.type, n.async_trans, n.sticky, n.job_id IS NOT NULL AS busy_state, n.creator_id, n.group_read, n.group_write,\n" + "n.is_public, n.content_length, n.created_on, n.last_modified, n.accept_views, n.provide_views, n.quota, n.content_md5, n.target\n" + "FROM node n\n" + "WHERE " + String.join(" OR ", Collections.nCopies(vosPaths.size(), "n.node_id = id_from_vos_path(?)")) + "\n" + "WHERE (" + String.join(" OR ", Collections.nCopies(vosPaths.size(), "n.node_id = id_from_vos_path(?)")) + ")\n" + "AND n.type = 'link'\n"; return jdbcTemplate.query(conn -> { Loading