org.dbunit.database.statement
Class BatchStatementDecorator

java.lang.Object
  extended by org.dbunit.database.statement.BatchStatementDecorator
All Implemented Interfaces:
IPreparedBatchStatement

public class BatchStatementDecorator
extends java.lang.Object
implements IPreparedBatchStatement

Since:
Mar 16, 2002
Version:
$Revision: 554 $
Author:
Manuel Laflamme

Method Summary
 void addBatch()
           
 void addValue(java.lang.Object value, DataType dataType)
           
 void clearBatch()
           
 void close()
           
 int executeBatch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addValue

public void addValue(java.lang.Object value,
                     DataType dataType)
              throws TypeCastException,
                     java.sql.SQLException
Specified by:
addValue in interface IPreparedBatchStatement
Throws:
TypeCastException
java.sql.SQLException

addBatch

public void addBatch()
              throws java.sql.SQLException
Specified by:
addBatch in interface IPreparedBatchStatement
Throws:
java.sql.SQLException

executeBatch

public int executeBatch()
                 throws java.sql.SQLException
Specified by:
executeBatch in interface IPreparedBatchStatement
Throws:
java.sql.SQLException

clearBatch

public void clearBatch()
                throws java.sql.SQLException
Specified by:
clearBatch in interface IPreparedBatchStatement
Throws:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface IPreparedBatchStatement
Throws:
java.sql.SQLException


Copyright © 2002-2008. All Rights Reserved.