com.j256.ormlite.dao
Interface CloseableIterator<T>
- All Superinterfaces:
- Iterator<T>
- All Known Implementing Classes:
- SelectIterator
public interface CloseableIterator<T>
- extends Iterator<T>
Extension to Iterator to provide a close() method. This should be in the JDK.
NOTE: You must call close()
method when you are done otherwise the underlying SQL
statement and connection may be kept open.
- Author:
- graywatson
Method Summary |
void |
close()
Close any underlying SQL statements. |
close
void close()
throws SQLException
- Close any underlying SQL statements.
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.