public final class HighLowValueHandler<T> extends Object
| Constructor and Description |
|---|
HighLowValueHandler(String table,
int grab,
KeyGeneratorTypeHandler<T> typeHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindLast(PreparedStatement stmt,
int index) |
void |
bindMax(PreparedStatement stmt,
int index) |
void |
bindTable(PreparedStatement stmt,
int index) |
boolean |
hasNext() |
void |
init(ResultSet rs) |
T |
next() |
public HighLowValueHandler(String table, int grab, KeyGeneratorTypeHandler<T> typeHandler)
public void init(ResultSet rs) throws PersistenceException, SQLException
PersistenceExceptionSQLExceptionpublic boolean hasNext()
public T next()
public void bindTable(PreparedStatement stmt, int index) throws SQLException
SQLExceptionpublic void bindLast(PreparedStatement stmt, int index) throws SQLException
SQLExceptionpublic void bindMax(PreparedStatement stmt, int index) throws SQLException
SQLExceptionCopyright © 2014. All rights reserved.