iterator = new ResultIterator( new ResultService( context, this ), queryService.executeQuery( ), this.queryScope );
if ( queryService.getQueryDefn( ).usesDetails( ) == true ) iterator = new ResultIterator( new ResultService( context, this ), queryService.executeQuery( ), this.queryScope ); else iterator = new ResultIterator2( new ResultService( context, this ), queryService.executeQuery( ), this.queryScope );
	public IResultIterator getResultIterator( ) throws DataException	{ 		if ( queryService == null )			throw new DataException( ResourceConstants.RESULT_CLOSED );		if ( iterator == null )		{			// data row binding			this.queryService.initAutoBinding( );			this.queryService.validateQueryColumBinding( );						iterator = new ResultIterator( new ResultService( context, this ),					queryService.executeQuery( ),					this.queryScope );		}				logger.logp( Level.FINE,				QueryResults.class.getName( ),				"getResultIterator",				"finished" );		return iterator;	}