Fixed raw query invocation
This commit is contained in:
parent
771e5dda9c
commit
9f8967deb8
|
@ -141,7 +141,7 @@ public class UtilityResource {
|
|||
|
||||
System.out.println("------------query----------->"+query);
|
||||
|
||||
String result=resourceRegistryClient.rawQuery(query, 1000, null);
|
||||
String result=resourceRegistryClient.rawQuery(query, true);
|
||||
|
||||
if (!result.isEmpty()) {
|
||||
JSONObject jsonObj = new JSONObject(result);
|
||||
|
@ -193,7 +193,7 @@ public class UtilityResource {
|
|||
String description="";
|
||||
|
||||
|
||||
String result=resourceRegistryClient.rawQuery(query, 1000, null);
|
||||
String result=resourceRegistryClient.rawQuery(query, true);
|
||||
JSONObject jsonObj = new JSONObject(result);
|
||||
JSONArray jsonArray=jsonObj.getJSONArray("result");
|
||||
|
||||
|
|
Loading…
Reference in New Issue