public static class MappedStatement.Builder extends Object
Constructor and Description |
---|
MappedStatement.Builder(Configuration configuration,
String id,
SqlSource sqlSource,
SqlCommandType sqlCommandType) |
public MappedStatement.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 resulSets(String resultSet)
public MappedStatement build()
Copyright © 2010–2015 MyBatis.org. All rights reserved.