@Override
                public T next() {
                    if (rowsSinceLastClear++ == pageSize) {
                        rowsSinceLastClear = 0;
                        cursor.clear();
                    }
                    return (T) cursor.next();
                }
{@code EclipseLinkHandler} is the {@link QueryHandler} implementation for EclipseLink

@author tiwe
querydsl-jpa/src/main/java/com/querydsl/jpa/EclipseLinkHandler.java