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
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.