Added Javadoc remark about Iterable vs. Iterator
This commit is contained in:
parent
197c74931a
commit
825d89d876
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user