Class LazyResultLoader

java.lang.Object
com.ibatis.sqlmap.engine.mapping.result.loader.LazyResultLoader
All Implemented Interfaces:
InvocationHandler

public class LazyResultLoader extends Object implements InvocationHandler
Class to lazily load results into objects.
  • Field Details

    • client

      protected SqlMapClientImpl client
      The client.
    • statementName

      protected String statementName
      The statement name.
    • parameterObject

      protected Object parameterObject
      The parameter object.
    • targetType

      protected Class targetType
      The target type.
    • loaded

      protected boolean loaded
      The loaded.
    • resultObject

      protected Object resultObject
      The result object.
  • Constructor Details

    • LazyResultLoader

      public LazyResultLoader(SqlMapClientImpl client, String statementName, Object parameterObject, Class targetType)
      Constructor for a lazy list loader.
      Parameters:
      client - - the client that is creating the lazy list
      statementName - - the statement to be used to build the list
      parameterObject - - the parameter object to be used to build the list
      targetType - - the type we are putting data into
  • Method Details