use of com.evolveum.midpoint.repo.sql.query2.QueryInterpreter2 in project midpoint by Evolveum.
the class QueryEngine2 method interpret.
public RQuery interpret(ObjectQuery query, Class<? extends Containerable> type, Collection<SelectorOptions<GetOperationOptions>> options, boolean countingObjects, Session session) throws QueryException {
QueryInterpreter2 interpreter = new QueryInterpreter2(repoConfiguration);
RootHibernateQuery hibernateQuery = interpreter.interpret(query, type, options, prismContext, countingObjects, session);
return new RQueryImpl(hibernateQuery.getAsHqlQuery(session), hibernateQuery);
}
Aggregations