return query(queryString, true);
}
public QueryResult query(String queryString, boolean withClientId) throws ForceConnectionException,
InsufficientPermissionsException {
QueryResult result = null;
if (!withClientId) {
setNonCallOptions();
}
try {
if (logger.isDebugEnabled()) {
logger.debug("Execution query statement:\n '" + queryString + "'");
logConnection();
}
result = getPartnerConnection().query(queryString);
if (result != null) {
if (logger.isDebugEnabled()) {
logger.debug("Returned [" + result.getSize() + "] records");
}
}
} catch (ConnectionException e) {
ForceExceptionUtils.handleConnectionException(this, e);