Added Javadoc remark about Iterable vs. Iterator

This commit is contained in:
Lukas Eder 2012-08-18 19:07:08 +02:00
parent 197c74931a
commit 825d89d876

View File

@ -52,6 +52,9 @@ import org.jooq.exception.MappingException;
* <p>
* Client code must close this {@link Cursor} in order to close the underlying
* {@link PreparedStatement} and {@link ResultSet}
* <p>
* Note: Unlike usual implementations of {@link Iterable}, a <code>Cursor</code>
* can only provide one {@link Iterator}!
*
* @param <R> The cursor's record type
* @author Lukas Eder