This commit is contained in:
Lucio Lelii 2009-11-18 10:27:59 +00:00
parent d5d4d8ea72
commit 986d8ce0b6
1 changed files with 1 additions and 3 deletions

View File

@ -274,7 +274,7 @@ public class DeployVRE extends Thread{
//retrieving MDCollection with native MDFormat //retrieving MDCollection with native MDFormat
try{ try{
ResourceItem resItem; 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()){ while (resMdColNative.next()){
resItem= new ResourceItem(); resItem= new ResourceItem();
resItem.setID(resMdColNative.getString(1)); resItem.setID(resMdColNative.getString(1));
@ -283,7 +283,6 @@ public class DeployVRE extends Thread{
resItemList.add(resItem); resItemList.add(resItem);
} }
}catch(SQLException sqle){ }catch(SQLException sqle){
sqle.printStackTrace();
logger.error("Error contacting HSQLDB ",sqle); logger.error("Error contacting HSQLDB ",sqle);
} }
@ -310,7 +309,6 @@ public class DeployVRE extends Thread{
resItemList.add(resItem); resItemList.add(resItem);
} }
}catch(SQLException sqle){ }catch(SQLException sqle){
sqle.printStackTrace();
logger.error("Error contacting HSQLDB "+sqle); logger.error("Error contacting HSQLDB "+sqle);
} }