SessionImplementor afterScrollOperation - top ranked examples from Open Source projects

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

This code example shows how to use the following methods:afterScrollOperation, getFactory, getPersistenceContext
			boolean result = getResultSet().absolute(rowNumber);
			prepareCurrentRow(result);
			return result;
		} 
		catch (SQLException sqle) {
			throw getSession().getFactory().getSQLExceptionHelper().convert(
					sqle,
					"could not advance using absolute()" 
				); 
		} 
	} 
 
	private void prepareCurrentRow(boolean underlyingScrollSuccessful) 
	throws HibernateException {
		 
		if (!underlyingScrollSuccessful) {
			currentRow = null; 
			return; 
		} 
 

5
CodeRank
This code example shows how to use the following methods:afterScrollOperation, getFactory
			        "exception calling isAfterLast()" 
				); 
		} 
 
		currentPosition++;
		currentRow = new Object[] { row }; 
 
		if ( afterLast ) {
			if ( maxPosition == null ) {
				// we just hit the last position 
				maxPosition = new Integer( currentPosition );
			} 
		} 
 
		afterScrollOperation(); 
 
		return true; 
	} 
 
	/** 

4
CodeRank
afterScrollOperation Method Overview
See Code Examples for other Hibernate ORM SessionImplementor Methods: