public static class MappedStatement.Builder extends Object
Constructor and Description |
---|
Builder(Configuration configuration,
String id,
SqlSource sqlSource,
SqlCommandType sqlCommandType) |
public Builder(Configuration configuration, String id, SqlSource sqlSource, SqlCommandType sqlCommandType)
public MappedStatement.Builder resource(String resource)
public String id()
public MappedStatement.Builder parameterMap(ParameterMap parameterMap)
public MappedStatement.Builder resultMaps(List<ResultMap> resultMaps)
public MappedStatement.Builder fetchSize(Integer fetchSize)
public MappedStatement.Builder timeout(Integer timeout)
public MappedStatement.Builder statementType(StatementType statementType)
public MappedStatement.Builder resultSetType(ResultSetType resultSetType)
public MappedStatement.Builder cache(Cache cache)
public MappedStatement.Builder flushCacheRequired(boolean flushCacheRequired)
public MappedStatement.Builder useCache(boolean useCache)
public MappedStatement.Builder resultOrdered(boolean resultOrdered)
public MappedStatement.Builder keyGenerator(KeyGenerator keyGenerator)
public MappedStatement.Builder keyProperty(String keyProperty)
public MappedStatement.Builder keyColumn(String keyColumn)
public MappedStatement.Builder databaseId(String databaseId)
public MappedStatement.Builder lang(LanguageDriver driver)
public MappedStatement.Builder resultSets(String resultSet)
@Deprecated public MappedStatement.Builder resulSets(String resultSet)
resultSets(java.lang.String)
resultSet
- the result setpublic MappedStatement build()
Copyright © 2009–2020 MyBatis.org. All rights reserved.