Class HighLowValueHandler<T>
java.lang.Object
org.castor.cpa.persistence.sql.keygen.HighLowValueHandler<T>
-
Constructor Summary
ConstructorsConstructorDescriptionHighLowValueHandler
(String table, int grab, KeyGeneratorTypeHandler<T> typeHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindLast
(PreparedStatement stmt, int index) void
bindMax
(PreparedStatement stmt, int index) void
bindTable
(PreparedStatement stmt, int index) boolean
hasNext()
void
next()
-
Constructor Details
-
HighLowValueHandler
-
-
Method Details
-
init
- Throws:
PersistenceException
SQLException
-
hasNext
public boolean hasNext() -
next
-
bindTable
- Throws:
SQLException
-
bindLast
- Throws:
SQLException
-
bindMax
- Throws:
SQLException
-