org.apache.ibatis.mapping
Class MappedStatement.Builder
java.lang.Object
org.apache.ibatis.mapping.MappedStatement.Builder
- Enclosing class:
- MappedStatement
public static class MappedStatement.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedStatement.Builder
public MappedStatement.Builder(Configuration configuration,
String id,
SqlSource sqlSource,
SqlCommandType sqlCommandType)
resource
public MappedStatement.Builder resource(String resource)
id
public String id()
parameterMap
public MappedStatement.Builder parameterMap(ParameterMap parameterMap)
resultMaps
public MappedStatement.Builder resultMaps(List<ResultMap> resultMaps)
fetchSize
public MappedStatement.Builder fetchSize(Integer fetchSize)
timeout
public MappedStatement.Builder timeout(Integer timeout)
statementType
public MappedStatement.Builder statementType(StatementType statementType)
resultSetType
public MappedStatement.Builder resultSetType(ResultSetType resultSetType)
cache
public MappedStatement.Builder cache(Cache cache)
flushCacheRequired
public MappedStatement.Builder flushCacheRequired(boolean flushCacheRequired)
useCache
public MappedStatement.Builder useCache(boolean useCache)
keyGenerator
public MappedStatement.Builder keyGenerator(KeyGenerator keyGenerator)
keyProperty
public MappedStatement.Builder keyProperty(String keyProperty)
keyColumn
public MappedStatement.Builder keyColumn(String keyColumn)
databaseId
public MappedStatement.Builder databaseId(String databaseId)
build
public MappedStatement build()
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.