ojb.broker.accesslayer
Class SqlBasedRsIterator

java.lang.Object
  |
  +--ojb.broker.accesslayer.RsIterator
        |
        +--ojb.broker.accesslayer.SqlBasedRsIterator
All Implemented Interfaces:
java.util.Iterator
Direct Known Subclasses:
SqlBasedReportQueryRsIterator

public class SqlBasedRsIterator
extends RsIterator


Field Summary
 
Fields inherited from class ojb.broker.accesslayer.RsIterator
cache, hasCalledCheck, hasNext, itemProxyClass, logger, m_broker, m_mif, m_row, m_rs
 
Constructor Summary
protected SqlBasedRsIterator()
           
  SqlBasedRsIterator(ClassDescriptor cld, java.lang.String sqlStatement, PersistenceBrokerImpl broker)
          SqlBasedRsIterator constructor.
 
Method Summary
protected  java.lang.Object getObjectFromResultSet()
          returns a proxy or a fully materialized Object from the current row of the underlying resultset.
 
Methods inherited from class ojb.broker.accesslayer.RsIterator
getExtentClass, getIdentityFromResultSet, getProxyFromResultSet, hasNext, next, releaseDbResources, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlBasedRsIterator

protected SqlBasedRsIterator()

SqlBasedRsIterator

public SqlBasedRsIterator(ClassDescriptor cld,
                          java.lang.String sqlStatement,
                          PersistenceBrokerImpl broker)
                   throws PersistenceBrokerException
SqlBasedRsIterator constructor.

Method Detail

getObjectFromResultSet

protected java.lang.Object getObjectFromResultSet()
                                           throws PersistenceBrokerException
returns a proxy or a fully materialized Object from the current row of the underlying resultset.

Overrides:
getObjectFromResultSet in class RsIterator
PersistenceBrokerException


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04