org.apache.ibatis.scripting.defaults
Class RawLanguageDriver
java.lang.Object
org.apache.ibatis.scripting.defaults.RawLanguageDriver
- All Implemented Interfaces:
- LanguageDriver
public class RawLanguageDriver
- extends Object
- implements LanguageDriver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawLanguageDriver
public RawLanguageDriver()
createParameterHandler
public ParameterHandler createParameterHandler(MappedStatement mappedStatement,
Object parameterObject,
BoundSql boundSql)
- Description copied from interface:
LanguageDriver
- Creates a
ParameterHandler that passes the actual parameters to the the JDBC statement.
- Specified by:
createParameterHandler in interface LanguageDriver
- Parameters:
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.
- Returns:
- See Also:
DefaultParameterHandler
createSqlSource
public SqlSource createSqlSource(Configuration configuration,
XNode script,
Class<?> parameterType)
- Description copied from interface:
LanguageDriver
- Creates an
SqlSource that will hold the statement read from a mapper xml file.
It is called during startup, when the mapped statement is read from a class or an xml file.
- Specified by:
createSqlSource in interface LanguageDriver
- Parameters:
configuration - The MyBatis configurationscript - XNode parsed from a XML fileparameterType - input parameter type got from a mapper method or specified in the parameterType xml attribute. Can be null.
- Returns:
createSqlSource
public SqlSource createSqlSource(Configuration configuration,
String script,
Class<?> parameterType)
- Description copied from interface:
LanguageDriver
- Creates an
SqlSource that will hold the statement read from an annotation.
It is called during startup, when the mapped statement is read from a class or an xml file.
- Specified by:
createSqlSource in interface LanguageDriver
- Parameters:
configuration - The MyBatis configurationscript - The content of the annotationparameterType - input parameter type got from a mapper method or specified in the parameterType xml attribute. Can be null.
- Returns:
Copyright © 2010-2014 MyBatis.org. All Rights Reserved.