You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Michael Fagan (JIRA)" <ib...@incubator.apache.org> on 2005/08/21 01:25:57 UTC
[jira] Created: (IBATIS-183) Ability to fetch an object from the resultset one at a time
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
[jira] Closed: (IBATIS-183) Ability to fetch an object from the resultset one at a time
Posted by "Larry Meadors (JIRA)" <ib...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/IBATIS-183?page=all ]
Larry Meadors closed IBATIS-183:
--------------------------------
Fix Version: 2.0.8
Resolution: Invalid
This is functionality that has been available since the early days of iBATIS 1.x with the RowHandler interface.
> 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
> Fix For: 2.0.8
>
> 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