Interface StatementHandler
-
- All Known Implementing Classes:
BaseStatementHandler
,CallableStatementHandler
,PreparedStatementHandler
,RoutingStatementHandler
,SimpleStatementHandler
public interface StatementHandler
- Author:
- Clinton Begin
-
-
Method Summary
Modifier and Type Method Description void
batch(java.sql.Statement statement)
BoundSql
getBoundSql()
ParameterHandler
getParameterHandler()
void
parameterize(java.sql.Statement statement)
java.sql.Statement
prepare(java.sql.Connection connection, java.lang.Integer transactionTimeout)
<E> java.util.List<E>
query(java.sql.Statement statement, ResultHandler resultHandler)
<E> Cursor<E>
queryCursor(java.sql.Statement statement)
int
update(java.sql.Statement statement)
-
-
-
Method Detail
-
prepare
java.sql.Statement prepare(java.sql.Connection connection, java.lang.Integer transactionTimeout) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
parameterize
void parameterize(java.sql.Statement statement) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
batch
void batch(java.sql.Statement statement) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
update
int update(java.sql.Statement statement) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
query
<E> java.util.List<E> query(java.sql.Statement statement, ResultHandler resultHandler) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
queryCursor
<E> Cursor<E> queryCursor(java.sql.Statement statement) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getBoundSql
BoundSql getBoundSql()
-
getParameterHandler
ParameterHandler getParameterHandler()
-
-