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

java.lang.Object
  extended by com.ibatis.sqlmap.engine.mapping.result.loader.ResultLoader

public class ResultLoader
extends Object

Class to load results into objects


Method Summary
protected static Object getResult(SqlMapClientImpl client, String statementName, Object parameterObject, Class targetType)
           
static Object loadResult(SqlMapClientImpl client, String statementName, Object parameterObject, Class targetType)
          Loads a result lazily
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadResult

public static Object loadResult(SqlMapClientImpl client,
                                String statementName,
                                Object parameterObject,
                                Class targetType)
                         throws SQLException
Loads a result lazily

Parameters:
client - - the client creating the object
statementName - - the name of the statement to be used
parameterObject - - the parameters for the statement
targetType - - the target type of the result
Returns:
the loaded result
Throws:
SQLException

getResult

protected static Object getResult(SqlMapClientImpl client,
                                  String statementName,
                                  Object parameterObject,
                                  Class targetType)
                           throws SQLException
Throws:
SQLException


Copyright © 2010. All Rights Reserved.