org.apache.ibatis.executor.statement
Class SimpleStatementHandler
java.lang.Object
org.apache.ibatis.executor.statement.BaseStatementHandler
org.apache.ibatis.executor.statement.SimpleStatementHandler
- All Implemented Interfaces:
- StatementHandler
public class SimpleStatementHandler
- extends BaseStatementHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleStatementHandler
public SimpleStatementHandler(Executor executor,
MappedStatement mappedStatement,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql)
update
public int update(Statement statement)
throws SQLException
- Throws:
SQLException
batch
public void batch(Statement statement)
throws SQLException
- Throws:
SQLException
query
public <E> List<E> query(Statement statement,
ResultHandler resultHandler)
throws SQLException
- Throws:
SQLException
instantiateStatement
protected Statement instantiateStatement(Connection connection)
throws SQLException
- Specified by:
instantiateStatement
in class BaseStatementHandler
- Throws:
SQLException
parameterize
public void parameterize(Statement statement)
throws SQLException
- Throws:
SQLException
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.