You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2007/08/15 06:51:30 UTC
[jira] Updated: (BEANUTILS-292) ResultSetDynaClass should implement
Iterable
[ https://issues.apache.org/jira/browse/BEANUTILS-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell updated BEANUTILS-292:
------------------------------------
Fix Version/s: LATER THAN 1.8.0
This would be a Java 5 specific feature, so something for the future.
> ResultSetDynaClass should implement Iterable
> --------------------------------------------
>
> Key: BEANUTILS-292
> URL: https://issues.apache.org/jira/browse/BEANUTILS-292
> Project: Commons BeanUtils
> Issue Type: Improvement
> Affects Versions: 1.8.0-BETA
> Reporter: Johan
> Priority: Minor
> Fix For: LATER THAN 1.8.0
>
>
> org.apache.commons.beanutils.ResultSetDynaClass already provides an iterator() method. If it would implement the Iterable interface too, it could be used with the new Java5 for loop construct, e.g.:
> for (final Object dynaBean : new ResultSetDynaClass(resultSet, false))
> {
> }
> Changes to ResultSetDynaClass are minimal and will not break the API.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.