TransactionCoordinator afterNonTransactionalQuery - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for TransactionCoordinator afterNonTransactionalQuery method.

This code example shows how to use the following methods:afterNonTransactionalQuery, isTransactionInProgress
			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 ); 
4
CodeRank
afterNonTransactionalQuery Method Overview
Performs actions needed after execution of a non-transactional query.
See Code Examples for other Hibernate ORM TransactionCoordinator Methods: