{
public void run()
{
try{
DbHelper.open("1234567890", "admin", "admin");
OResultSet result1=(OResultSet)DbHelper.genericSQLStatementExecute("select sysdate()",new String[]{});
ODocument res1 = (ODocument)result1.get(0);
String jsonString1= res1.toJSON();
ObjectMapper om = new ObjectMapper();
JsonNode json1 = om.readTree(jsonString1);
String dateString1 = json1.get("sysdate").asText();
String seconds1=dateString1.substring(17,19);
String milliseconds1=dateString1.substring(20,23);
Thread.sleep(1000);
OResultSet result2=(OResultSet)DbHelper.genericSQLStatementExecute("select sysdate()",new String[]{});
ODocument res2 = (ODocument)result2.get(0);
String jsonString2= res2.toJSON();
JsonNode json2 = om.readTree(jsonString2);
String dateString2 = json2.get("sysdate").asText();
String seconds2=dateString2.substring(17,19);
String milliseconds2=dateString2.substring(20,23);