List of usage examples for org.hibernate ScrollableResults interface-usage
From source file de.cosmocode.hibernate.MockScrollableResults.java
/**
* Mock implementation of the {@link ScrollableResults} which uses
* an underlying list.
*
* @author Willi Schoenborn
*/
From source file edu.utah.further.core.data.hibernate.page.ScrollableResultsMockImpl.java
/**
* A mock implementation of Hibernate's {@link ScrollableResults} for unit testing. Backed
* by a list.
* <p>
* -----------------------------------------------------------------------------------<br>
* (c) 2008-2013 FURTHeR Project, Health Sciences IT, University of Utah<br>
From source file fr.gael.dhus.util.EmptyScrollableResult.java
/** * An empty ScrollIterator used when result is null. */ public class EmptyScrollableResult implements ScrollableResults { @Override public boolean next() throws HibernateException {
From source file mockit.emulation.hibernate3.ScrollableResultsEmul.java
@SuppressWarnings({ "ClassWithTooManyMethods" }) final class ScrollableResultsEmul implements ScrollableResults { private final List<?> results; private int pos; ScrollableResultsEmul(List<?> results) {
From source file net.mlw.vlh.adapter.hibernate3.util.ScrollableResultsDecorator.java
/**
* The ScrollableResultsDecorator class enable or disable putting objects into a
* final ResultsSet, thus into a final valueList. To check validity it uses
* ObjectValidator's interface. This implementation ensures that the validation
* method is invoked only once per object.
*