com.ibatis.sqlmap.engine.mapping.result.loader
public class LazyResultLoader extends Object implements InvocationHandler
| Field Summary | |
|---|---|
| protected SqlMapClientImpl | client |
| protected boolean | loaded |
| protected Object | parameterObject |
| protected Object | resultObject |
| protected String | statementName |
| protected Class | targetType |
| Constructor Summary | |
|---|---|
| LazyResultLoader(SqlMapClientImpl client, String statementName, Object parameterObject, Class targetType)
Constructor for a lazy list loader
| |
| Method Summary | |
|---|---|
| Object | invoke(Object o, Method method, Object[] objects) |
| Object | loadResult()
Loads the result
|
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
Returns: the results - a list or object
Throws: SQLException if there is a problem