Method Summary |
|
public synchronized boolean | cancelQuery() |
public void | clearCache() |
public synchronized void | close() Closes the scrollable result when scroll execution type is used. |
public void | closeScrollableResults() Closes the scrollable results of the query. |
public JRDataSource | createDatasource() |
protected synchronized void | createQuery(String queryString) Creates the Hibernate query object. |
protected JRDataSource | createResultDatasource() Creates a data source out of the query result. |
public JRDataset | getDataset() Returns the dataset for which the query executer has been created. |
protected String | getHqlParameterName(String parameterName) |
protected String | getParameterReplacement(String parameterName) |
public String[] | getReturnAliases() Returns the aliases of the HQL query. |
public Type[] | getReturnTypes() Returns the return types of the HQL query. |
public Iterator | iterate() Runs the query by calling org.hibernate.Query.iterate() . |
public List | list() Runs the query by calling org.hibernate.Query.list() . |
public List | list(int firstIndex, int resultCount) Returns a page of the query results by calling org.hibernate.Query.iterate() . |
public ScrollableResults | scroll() Runs the query by calling org.hibernate.Query.scroll() . |
protected void | setParameter(JRValueParameter parameter) Binds a paramter value to a query paramter. |
protected void | setParameters() Binds values for all the query paramters. |
protected synchronized void | setQueryRunning(boolean queryRunning) |