throw new ApitraryOrmException("Cannot access null entity");
}
log.debug("Loading all " + entity.getName());
QueriedGetRequest request = new QueriedGetRequest();
request.setEntity(resolveApitraryEntity(entity));
QueriedGetResponse response = resolveApitraryClient().send(request);
if (HttpStatus.OK.ordinal() == response.getStatusCode()) {
return (List<T>) new QueriedGetResponseUnmarshaller(this).unMarshall(response, entity);
} else {