com.ibatis.sqlmap.engine.scope
public class StatementScope extends Object
| Constructor Summary | |
|---|---|
| StatementScope(SessionScope sessionScope) | |
| Method Summary | |
|---|---|
| String | getCurrentNestedKey() |
| ParameterMap | getDynamicParameterMap()
Get the dynamic parameter for the request
|
| String | getDynamicSql()
Get the dynamic SQL for the request
|
| ErrorContext | getErrorContext()
Get the request's error context
|
| ParameterMap | getParameterMap()
Get the parameter map for the request
|
| ResultMap | getResultMap()
Get the result map for the request
|
| ResultSet | getResultSet() |
| SessionScope | getSession()
Get the session of the request
|
| Sql | getSql()
Get the SQL for the request
|
| MappedStatement | getStatement()
Get the statement for the request
|
| Map | getUniqueKeys(ResultMap map) |
| boolean | isRowDataFound() |
| void | setCurrentNestedKey(String currentNestedKey) |
| void | setDynamicParameterMap(ParameterMap dynamicParameterMap)
Set the dynamic parameter for the request
|
| void | setDynamicSql(String dynamicSql)
Set the dynamic SQL for the request
|
| void | setParameterMap(ParameterMap parameterMap)
Set the parameter map for the request
|
| void | setResultMap(ResultMap resultMap)
Set the result map for the request
|
| void | setResultSet(ResultSet resultSet) |
| void | setRowDataFound(boolean rowDataFound) |
| void | setSql(Sql sql)
Set the SQL for the request
|
| void | setStatement(MappedStatement statement)
Set the statement for the request
|
| void | setUniqueKeys(ResultMap map, Map keys) |
Returns: Returns the currentNestedKey.
Returns: - the dynamic parameter
Returns: - the dynamic SQL
Returns: - the request's error context
Returns: - the parameter map
Returns: - the result map
Returns: - the session
Returns: - the sql
Returns: - the statement
Parameters: currentNestedKey The currentNestedKey to set.
Parameters: dynamicParameterMap - the dynamic parameter
Parameters: dynamicSql - the dynamic SQL
Parameters: parameterMap - the new parameter map
Parameters: resultMap - the result map
Parameters: sql - the sql
Parameters: statement - the statement