}
@Before
public void getUpdateIds() {
if (updateId == null || updateIdqueryPlannerEnabled == null) {
SQLRequest request = new SQLRequest("SELECT \"_id\" FROM countries WHERE \"countryCode\"=?", new Object[]{"AT"});
SQLResponse response = getClient(false).execute(SQLAction.INSTANCE, request).actionGet();
assert response.rows().length == 1;
updateId = (String)response.rows()[0][0];
request = new SQLRequest("SELECT \"_id\" FROM countries WHERE \"countryCode\"=?", new Object[]{"AT"});
response = getClient(true).execute(SQLAction.INSTANCE, request).actionGet();
assert response.rows().length == 1;
updateIdqueryPlannerEnabled = (String)response.rows()[0][0];
}
}