NOTE: OJB is very strict in handling RsIterator instances. RsIterator is bound very closely to the used {@link org.apache.ojb.broker.PersistenceBroker} instance.Thus if you do a
- {@link org.apache.ojb.broker.PersistenceBroker#close}
- {@link org.apache.ojb.broker.PersistenceBroker#commitTransaction}
- {@link org.apache.ojb.broker.PersistenceBroker#abortTransaction}
call, the current RsIterator instance resources will be cleaned up automatic and invalidate current instance.
NOTE: this code uses features that only JDBC 2.0 compliant Drivers support. It will NOT work with JDBC 1.0 Drivers (e.g. SUN's JdbcOdbcDriver) If you are forced to use such a driver, you can use code from the 0.1.30 release.
@author Thomas Mahler @author Matthew Baird - added thesupport for extents mapped to single table - added the .size functionality - added cursor control @version $Id: RsIterator.java,v 1.63.2.19 2005/12/21 22:22:58 tomdz Exp $
|
|
|
|