Class EnhancedLazyResultLoader
java.lang.Object
com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoader
Class to lazily load results into objects (uses CGLib to improve performance).
-
Constructor Summary
ConstructorsConstructorDescriptionEnhancedLazyResultLoader(SqlMapClientImpl client, String statementName, Object parameterObject, Class targetType) Constructor for an enhanced lazy list loader. -
Method Summary
-
Constructor Details
-
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 liststatementName- - the statement to be used to build the listparameterObject- - the parameter object to be used to build the listtargetType- - the type we are putting data into
-
-
Method Details
-
loadResult
Loads the result.- Returns:
- the results - a list or object
- Throws:
SQLException- if there is a problem
-