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
Method Summary |
void |
batch(java.sql.Statement statement)
|
protected java.sql.Statement |
instantiateStatement(java.sql.Connection connection)
|
void |
parameterize(java.sql.Statement statement)
|
java.util.List |
query(java.sql.Statement statement,
ResultHandler resultHandler)
|
int |
update(java.sql.Statement statement)
|
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,
java.lang.Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler)
update
public int update(java.sql.Statement statement)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
batch
public void batch(java.sql.Statement statement)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
query
public java.util.List query(java.sql.Statement statement,
ResultHandler resultHandler)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
instantiateStatement
protected java.sql.Statement instantiateStatement(java.sql.Connection connection)
throws java.sql.SQLException
- Specified by:
instantiateStatement
in class BaseStatementHandler
- Throws:
java.sql.SQLException
parameterize
public void parameterize(java.sql.Statement statement)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Copyright © 2010. All Rights Reserved.