com.ibatis.sqlmap.engine.mapping.result.loader

Class EnhancedLazyResultLoader

public class EnhancedLazyResultLoader extends Object

Class to lazily load results into objects (uses CGLib to improve performance)
Constructor Summary
EnhancedLazyResultLoader(SqlMapClientImpl client, String statementName, Object parameterObject, Class targetType)
Constructor for an enhanced lazy list loader
Method Summary
ObjectloadResult()
Loads the result

Constructor Detail

EnhancedLazyResultLoader

public EnhancedLazyResultLoader(SqlMapClientImpl client, String statementName, Object parameterObject, Class targetType)
Constructor for an enhanced 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 Detail

loadResult

public Object loadResult()
Loads the result

Returns: the results - a list or object

Throws: SQLException if there is a problem

Copyright © 2011. All Rights Reserved.