com.ibatis.sqlmap.engine.mapping.statement
Class InsertStatement
java.lang.Object
com.ibatis.sqlmap.engine.mapping.statement.BaseStatement
com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement
com.ibatis.sqlmap.engine.mapping.statement.InsertStatement
- All Implemented Interfaces:
- MappedStatement
- public class InsertStatement
- extends GeneralStatement
Method Summary |
java.util.List |
executeQueryForList(RequestScope request,
Transaction trans,
java.lang.Object parameterObject,
int skipResults,
int maxResults)
|
java.lang.Object |
executeQueryForObject(RequestScope request,
Transaction trans,
java.lang.Object parameterObject,
java.lang.Object resultObject)
|
void |
executeQueryWithRowHandler(RequestScope request,
Transaction trans,
java.lang.Object parameterObject,
RowHandler rowHandler)
|
SelectKeyStatement |
getSelectKeyStatement()
|
StatementType |
getStatementType()
|
void |
setSelectKeyStatement(SelectKeyStatement selectKeyStatement)
|
Methods inherited from class com.ibatis.sqlmap.engine.mapping.statement.BaseStatement |
addExecuteListener, addResultMap, getAdditionalResultMaps, getCacheKey, getFetchSize, getId, getParameterClass, getParameterMap, getResource, getResultMap, getResultSetType, getSql, getSqlExecutor, getSqlMapClient, getTimeout, hasMultipleResultMaps, initRequest, notifyListeners, setBaseCacheKey, setFetchSize, setId, setParameterClass, setParameterMap, setResource, setResultMap, setResultSetType, setSql, setSqlMapClient, setTimeout |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertStatement
public InsertStatement()
getStatementType
public StatementType getStatementType()
- Specified by:
getStatementType
in interface MappedStatement
- Overrides:
getStatementType
in class GeneralStatement
executeQueryForObject
public java.lang.Object executeQueryForObject(RequestScope request,
Transaction trans,
java.lang.Object parameterObject,
java.lang.Object resultObject)
throws java.sql.SQLException
- Specified by:
executeQueryForObject
in interface MappedStatement
- Overrides:
executeQueryForObject
in class GeneralStatement
- Throws:
java.sql.SQLException
executeQueryForList
public java.util.List executeQueryForList(RequestScope request,
Transaction trans,
java.lang.Object parameterObject,
int skipResults,
int maxResults)
throws java.sql.SQLException
- Specified by:
executeQueryForList
in interface MappedStatement
- Overrides:
executeQueryForList
in class GeneralStatement
- Throws:
java.sql.SQLException
executeQueryWithRowHandler
public void executeQueryWithRowHandler(RequestScope request,
Transaction trans,
java.lang.Object parameterObject,
RowHandler rowHandler)
throws java.sql.SQLException
- Specified by:
executeQueryWithRowHandler
in interface MappedStatement
- Overrides:
executeQueryWithRowHandler
in class GeneralStatement
- Throws:
java.sql.SQLException
getSelectKeyStatement
public SelectKeyStatement getSelectKeyStatement()
setSelectKeyStatement
public void setSelectKeyStatement(SelectKeyStatement selectKeyStatement)