git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@7330 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ed4a6ec1ed
commit
65189c089d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue