Code example for TransactionCoordinator

Methods: afterNonTransactionalQueryisTransactionInProgress

0
			success = true; 
		} 
		finally { 
			afterOperation(success); 
		} 
		temporaryPersistenceContext.clear(); 
		return results; 
	} 
 
	public ScrollableResults scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters) 
	throws HibernateException { 
		errorIfClosed(); 
		CustomLoader loader = new CustomLoader( customQuery, getFactory() ); 
		return loader.scroll( queryParameters, this ); 
	} 
 
	public ScrollableResults scroll(String query, QueryParameters queryParameters) throws HibernateException { 
		errorIfClosed(); 
		HQLQueryPlan plan = getHQLQueryPlan( query, false ); 
		return plan.performScroll( queryParameters, this );