This commit is contained in:
Lucio Lelii 2008-12-01 14:21:31 +00:00
parent ed4a6ec1ed
commit 65189c089d
1 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ public class ModelerService {
ResultSet res=null;
try {
res=DBInterface.queryDB("select * from VRE where VRE.id='"+getResource().getId()+"'; ");
if(res.next())
{
dateFrom=new Date(request.getStartTime());
@ -71,6 +72,7 @@ public class ModelerService {
dateTo=new Date(request.getEndTime());
String eprToString;
try {
System.out.println(getResource().getEPR());
eprToString = ObjectSerializer.toString(getResource().getEPR());
//logger.debug("EPR: "+eprToString);
} catch (SerializationException e) {
@ -85,7 +87,7 @@ public class ModelerService {
} catch (Exception e) {
logger.error("setVRE "+e.getMessage());
logger.error(" "+e.getMessage());
e.printStackTrace();
throw new GCUBEFault(e);
}