Ability to fetch an object from the resultset one at a time
-----------------------------------------------------------
Key: IBATIS-183
URL: http://issues.apache.org/jira/browse/IBATIS-183
Project: iBatis for Java
Type: Improvement
Components: SQL Maps
Versions: 2.1.0
Environment: Any
Reporter: Michael Fagan
Currently there does not exist an interface that allows you to pull a single
object at a time.
For example when generating a large tabular report loading 500k records into a
collection is memory intensive operation. I would suggest an api that either
mirrors the iterator api of a ResultSet or a callback mechanism so I can
process each object once it is created.
If I have the ability to process a record and throw it away I can generate
large reports without having to be concerned with out of memory errors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira