diff --git a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/ReadProjectsFromDB.java b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/ReadProjectsFromDB.java index 0c8b9e1142..148f7041a6 100644 --- a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/ReadProjectsFromDB.java +++ b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/actionmanager/project/ReadProjectsFromDB.java @@ -33,7 +33,7 @@ public class ReadProjectsFromDB implements Closeable { private final BufferedWriter writer; private final ObjectMapper OBJECT_MAPPER = new ObjectMapper(); - private final static String query = "SELECT code , optional1, optional2 " + + private final static String query = "SELECT code " + "from projects where id like 'corda__h2020%' "; public static void main(final String[] args) throws Exception { @@ -72,8 +72,8 @@ public class ReadProjectsFromDB implements Closeable { try { ProjectSubset p = new ProjectSubset(); p.setCode(rs.getString("code")); - p.setTopiccode(rs.getString("optional1")); - p.setTopicdescription(rs.getString("optional2")); +// p.setTopiccode(rs.getString("optional1")); +// p.setTopicdescription(rs.getString("optional2")); return Arrays.asList(p); } catch (final Exception e) {