Class RowHandlerCallback

java.lang.Object
com.ibatis.sqlmap.engine.mapping.statement.RowHandlerCallback

public class RowHandlerCallback extends Object
Class to manager row handler access.
  • Constructor Details

    • RowHandlerCallback

      public RowHandlerCallback(ResultMap resultMap, Object resultObject, RowHandler rowHandler)
      Constructor.
      Parameters:
      resultMap - - the result map
      resultObject - - the result object
      rowHandler - - the row handler object
  • Method Details

    • handleResultObject

      public void handleResultObject(StatementScope statementScope, Object[] results, ResultSet rs) throws SQLException
      Prepares the row object, and passes it to the row handler.
      Parameters:
      statementScope - - the request scope
      results - - the result data
      rs - the rs
      Throws:
      SQLException - the SQL exception
    • getRowHandler

      public RowHandler getRowHandler()
      Gets the row handler.
      Returns:
      the row handler