org.apache.ibatis.executor.loader
Class ResultLoader

java.lang.Object
  extended by org.apache.ibatis.executor.loader.ResultLoader

public class ResultLoader
extends Object


Field Summary
protected  BoundSql boundSql
           
protected  CacheKey cacheKey
           
protected  Configuration configuration
           
protected  Executor executor
           
protected  boolean loaded
           
protected  MappedStatement mappedStatement
           
protected  ObjectFactory objectFactory
           
protected  Object parameterObject
           
protected  Object resultObject
           
protected  Class<?> targetType
           
 
Constructor Summary
ResultLoader(Configuration config, Executor executor, MappedStatement mappedStatement, Object parameterObject, Class<?> targetType, CacheKey cacheKey, BoundSql boundSql)
           
 
Method Summary
 Object loadResult()
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected final Configuration configuration

executor

protected final Executor executor

mappedStatement

protected final MappedStatement mappedStatement

parameterObject

protected final Object parameterObject

targetType

protected final Class<?> targetType

objectFactory

protected final ObjectFactory objectFactory

cacheKey

protected final CacheKey cacheKey

boundSql

protected final BoundSql boundSql

loaded

protected boolean loaded

resultObject

protected Object resultObject
Constructor Detail

ResultLoader

public ResultLoader(Configuration config,
                    Executor executor,
                    MappedStatement mappedStatement,
                    Object parameterObject,
                    Class<?> targetType,
                    CacheKey cacheKey,
                    BoundSql boundSql)
Method Detail

loadResult

public Object loadResult()
                  throws SQLException
Throws:
SQLException

wasNull

public boolean wasNull()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.