Package org.apache.ibatis.mapping
Class BoundSql
java.lang.Object
org.apache.ibatis.mapping.BoundSql
An actual SQL String got from an
SqlSource
after having processed any dynamic content. The SQL may have SQL
placeholders "?" and a list (ordered) of a parameter mappings with the additional information for each parameter (at
least the property name of the input object to read the value from).
Can also have additional parameters that are created by the dynamic language (for loops, bind...).
- Author:
- Clinton Begin
-
Constructor Summary
ConstructorDescriptionBoundSql
(Configuration configuration, String sql, List<ParameterMapping> parameterMappings, Object parameterObject) -
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalParameter
(String name) getSql()
boolean
hasAdditionalParameter
(String name) void
setAdditionalParameter
(String name, Object value)
-
Constructor Details
-
BoundSql
public BoundSql(Configuration configuration, String sql, List<ParameterMapping> parameterMappings, Object parameterObject)
-
-
Method Details
-
getSql
-
getParameterMappings
-
getParameterObject
-
hasAdditionalParameter
-
setAdditionalParameter
-
getAdditionalParameter
-
getAdditionalParameters
-