protected final AliasManager aliasManager;
protected final ExpressionFactory expressionFactory;
protected Class<QueryResultType> resultType;
protected int firstResult = 0;
protected int maxResults = Integer.MAX_VALUE;
<BUG>protected boolean fromClassExplicitelySet = false;
protected String cachedQueryString;</BUG>
protected String cachedExternalQueryString;
protected boolean hasGroupBy = false;
protected boolean needsCheck = true;

protected final AliasManager aliasManager;
protected final ExpressionFactory expressionFactory;
protected Class<QueryResultType> resultType;
protected int firstResult = 0;
protected int maxResults = Integer.MAX_VALUE;
protected boolean fromClassExplicitelySet = false;
protected final List<ExpressionTransformerGroup<?>> transformerGroups;
protected String cachedQueryString;
protected String cachedExternalQueryString;
protected boolean hasGroupBy = false;
protected boolean needsCheck = true;
