fixed code
This commit is contained in:
parent
6d970281a4
commit
9f0d80b870
|
@ -207,7 +207,7 @@ public class UtilityResource {
|
|||
+ "FROM (TRAVERSE outE('IsIdentifiedBy'),inV('"+identifiedFacet+"') FROM "+entity+")";
|
||||
|
||||
System.out.println("------------query----------->"+query);
|
||||
String result=resourceRegistryClient.query(query, 1000, null);
|
||||
String result=resourceRegistryClient.rawQuery(query, 1000, null);
|
||||
JSONObject jsonObj = new JSONObject(result);
|
||||
JSONArray jsonArray=jsonObj.getJSONArray("result");
|
||||
|
||||
|
@ -254,7 +254,7 @@ public class UtilityResource {
|
|||
String name="";
|
||||
String description="";
|
||||
|
||||
String result=resourceRegistryClient.query(query, 1000, null);
|
||||
String result=resourceRegistryClient.rawQuery(query, 1000, null);
|
||||
JSONObject jsonObj = new JSONObject(result);
|
||||
JSONArray jsonArray=jsonObj.getJSONArray("result");
|
||||
|
||||
|
|
Loading…
Reference in New Issue