|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LanguageDriver
Method Summary | |
---|---|
ParameterHandler |
createParameterHandler(MappedStatement mappedStatement,
Object parameterObject,
BoundSql boundSql)
Creates a ParameterHandler that will set the parameters of the |
SqlSource |
createSqlSource(Configuration configuration,
String script,
Class<?> parameterType)
Creates an SqlSource that will hold the statement read from an annotation |
SqlSource |
createSqlSource(Configuration configuration,
XNode script,
Class<?> parameterType)
Creates an SqlSource that will hold the statement read from a mapper xml file |
Method Detail |
---|
ParameterHandler createParameterHandler(MappedStatement mappedStatement, Object parameterObject, BoundSql boundSql)
ParameterHandler
that will set the parameters of the
mappedStatement
- The mapped statement that is being executedparameterObject
- The input parameter object (can be null)boundSql
- The resulting SQL once the dynamic language has been executed.
SqlSource createSqlSource(Configuration configuration, XNode script, Class<?> parameterType)
SqlSource
that will hold the statement read from a mapper xml file
configuration
- The MyBatis configurationscript
- XNode parsed from a XML fileparameterType
- input parameter type
SqlSource createSqlSource(Configuration configuration, String script, Class<?> parameterType)
SqlSource
that will hold the statement read from an annotation
configuration
- The MyBatis configurationscript
- The content of the annotationparameterType
- input parameter type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |