Query query = qm.createQuery(queryRep.getQueryString(), queryRep.getQueryType());
QueryResult queryResult = query.execute();
return queryResult;
} catch (InvalidQueryException e1) {
throw new RepositoryAccessException("Invalid Query", e1);
} catch (RepositoryException e) {
throw new RepositoryAccessException("Error at query execution", e);
}
}