org.apache.ibatis.executor.statement
Class BaseStatementHandler
java.lang.Object
org.apache.ibatis.executor.statement.BaseStatementHandler
- All Implemented Interfaces:
- StatementHandler
- Direct Known Subclasses:
- CallableStatementHandler, PreparedStatementHandler, SimpleStatementHandler
public abstract class BaseStatementHandler
- extends java.lang.Object
- implements StatementHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected final Configuration configuration
objectFactory
protected final ObjectFactory objectFactory
typeHandlerRegistry
protected final TypeHandlerRegistry typeHandlerRegistry
resultSetHandler
protected final ResultSetHandler resultSetHandler
parameterHandler
protected final ParameterHandler parameterHandler
executor
protected final Executor executor
mappedStatement
protected final MappedStatement mappedStatement
rowBounds
protected final RowBounds rowBounds
boundSql
protected final BoundSql boundSql
BaseStatementHandler
protected BaseStatementHandler(Executor executor,
MappedStatement mappedStatement,
java.lang.Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler)
getBoundSql
public BoundSql getBoundSql()
- Specified by:
getBoundSql
in interface StatementHandler
getParameterHandler
public ParameterHandler getParameterHandler()
- Specified by:
getParameterHandler
in interface StatementHandler
prepare
public java.sql.Statement prepare(java.sql.Connection connection)
throws java.sql.SQLException
- Specified by:
prepare
in interface StatementHandler
- Throws:
java.sql.SQLException
instantiateStatement
protected abstract java.sql.Statement instantiateStatement(java.sql.Connection connection)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setStatementTimeout
protected void setStatementTimeout(java.sql.Statement stmt)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setFetchSize
protected void setFetchSize(java.sql.Statement stmt)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
closeStatement
protected void closeStatement(java.sql.Statement statement)
rebindGeneratedKey
protected void rebindGeneratedKey()
Copyright © 2010 MyBatis.org. All Rights Reserved.