Class SelectKeyStatement
java.lang.Object
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement
com.ibatis.sqlmap.engine.mapping.statement.SelectStatement
com.ibatis.sqlmap.engine.mapping.statement.SelectKeyStatement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteQueryForList(StatementScope statementScope, Transaction trans, Object parameterObject, int skipResults, int maxResults) Execute query for list.voidexecuteQueryWithRowHandler(StatementScope statementScope, Transaction trans, Object parameterObject, RowHandler rowHandler) Execute query with row handler.Gets the key property.booleanChecks if is run after SQL.voidsetKeyProperty(String keyProperty) Sets the key property.voidsetRunAfterSQL(boolean runAfterSQL) Sets the run after SQL.Methods inherited from class com.ibatis.sqlmap.engine.mapping.statement.SelectStatement
executeUpdate, getStatementTypeMethods inherited from class com.ibatis.sqlmap.engine.mapping.statement.MappedStatement
addExecuteListener, addResultMap, executeQueryForObject, executeQueryWithCallback, getAdditionalResultMaps, getCacheKey, getFetchSize, getId, getParameterClass, getParameterMap, getResource, getResultMap, getResultSetType, getSql, getSqlExecutor, getSqlMapClient, getTimeout, hasMultipleResultMaps, initRequest, notifyListeners, postProcessParameterObject, setBaseCacheKey, setFetchSize, setId, setParameterClass, setParameterMap, setResource, setResultMap, setResultSetType, setSql, setSqlMapClient, setTimeout, sqlExecuteQuery, sqlExecuteUpdate, validateParameter
-
Constructor Details
-
SelectKeyStatement
public SelectKeyStatement()
-
-
Method Details
-
getKeyProperty
-
setKeyProperty
Sets the key property.- Parameters:
keyProperty- the new key property
-
isRunAfterSQL
public boolean isRunAfterSQL()Checks if is run after SQL.- Returns:
- true, if is run after SQL
-
setRunAfterSQL
public void setRunAfterSQL(boolean runAfterSQL) Sets the run after SQL.- Parameters:
runAfterSQL- the new run after SQL
-
executeQueryForList
public List executeQueryForList(StatementScope statementScope, Transaction trans, Object parameterObject, int skipResults, int maxResults) throws SQLException Description copied from class:MappedStatementExecute query for list.- Overrides:
executeQueryForListin classMappedStatement- Parameters:
statementScope- the statement scopetrans- the transparameterObject- the parameter objectskipResults- the skip resultsmaxResults- the max results- Returns:
- the list
- Throws:
SQLException- the SQL exception
-
executeQueryWithRowHandler
public void executeQueryWithRowHandler(StatementScope statementScope, Transaction trans, Object parameterObject, RowHandler rowHandler) throws SQLException Description copied from class:MappedStatementExecute query with row handler.- Overrides:
executeQueryWithRowHandlerin classMappedStatement- Parameters:
statementScope- the statement scopetrans- the transparameterObject- the parameter objectrowHandler- the row handler- Throws:
SQLException- the SQL exception
-