net.sourceforge.sqlunit.handlers
Class BatchCallHandler

java.lang.Object
  extended by net.sourceforge.sqlunit.handlers.BatchCallHandler
All Implemented Interfaces:
IHandler

public class BatchCallHandler
extends java.lang.Object
implements IHandler

The BatchCallHandler class processes the contents of a batchcall tag in the input XML file.

Version:
$Revision: 1.8 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
BatchCallHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elBatchCall)
          Runs the batch of paramterized SQL statements or stored procedures supplied as a batch and returns a BatchDatabaseResult object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchCallHandler

public BatchCallHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elBatchCall)
                               throws java.lang.Exception
Runs the batch of paramterized SQL statements or stored procedures supplied as a batch and returns a BatchDatabaseResult object.

Specified by:
process in interface IHandler
Parameters:
elBatchCall - the JDOM Element representing the batchcall tag.
Returns:
a DatabaseResult object.
Throws:
java.lang.Exception - if there was a problem running the SQL.