org.jumpmind.db.sql
Class JdbcSqlReadCursor<T>
java.lang.Object
org.jumpmind.db.sql.JdbcSqlReadCursor<T>
- All Implemented Interfaces:
- ISqlReadCursor<T>
public class JdbcSqlReadCursor<T>
- extends Object
- implements ISqlReadCursor<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
c
protected Connection c
rs
protected ResultSet rs
st
protected Statement st
autoCommitFlag
protected boolean autoCommitFlag
mapper
protected ISqlRowMapper<T> mapper
sqlTemplate
protected JdbcSqlTemplate sqlTemplate
rowNumber
protected int rowNumber
originalIsolationLevel
protected int originalIsolationLevel
JdbcSqlReadCursor
public JdbcSqlReadCursor()
JdbcSqlReadCursor
public JdbcSqlReadCursor(JdbcSqlTemplate sqlTemplate,
ISqlRowMapper<T> mapper,
String sql,
Object[] values,
int[] types)
next
public T next()
- Specified by:
next in interface ISqlReadCursor<T>
getMapForRow
protected static Row getMapForRow(ResultSet rs)
throws SQLException
- Throws:
SQLException
close
public void close()
- Specified by:
close in interface ISqlReadCursor<T>
Copyright © 2007-2013 JumpMind, Inc.. All Rights Reserved.