diff --git a/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java b/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java index 0e6c8dc..549e33c 100644 --- a/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java +++ b/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java @@ -274,7 +274,7 @@ public class DeployVRE extends Thread{ //retrieving MDCollection with native MDFormat try{ ResourceItem resItem; - ResultSet resMdColNative =DBInterface.queryDB("select s.mdcollid from VRERELATEDMETADATAFORMAT AS s where s.vreid='"+this.getParameter().second+"';"); + ResultSet resMdColNative =DBInterface.queryDB("select s.collid from VRERELATEDMETADATAFORMAT AS s where s.vreid='"+this.getParameter().second+"';"); while (resMdColNative.next()){ resItem= new ResourceItem(); resItem.setID(resMdColNative.getString(1)); @@ -283,7 +283,6 @@ public class DeployVRE extends Thread{ resItemList.add(resItem); } }catch(SQLException sqle){ - sqle.printStackTrace(); logger.error("Error contacting HSQLDB ",sqle); } @@ -310,7 +309,6 @@ public class DeployVRE extends Thread{ resItemList.add(resItem); } }catch(SQLException sqle){ - sqle.printStackTrace(); logger.error("Error contacting HSQLDB "+sqle); }