org.dbunit.database.statement
Class PreparedBatchStatement

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

public class PreparedBatchStatement
extends AbstractPreparedBatchStatement

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

Field Summary
 
Fields inherited from class org.dbunit.database.statement.AbstractPreparedBatchStatement
_statement
 
Method Summary
 void addBatch()
           
 void addValue(java.lang.Object value, DataType dataType)
           
 void clearBatch()
           
 int executeBatch()
           
 
Methods inherited from class org.dbunit.database.statement.AbstractPreparedBatchStatement
close
 
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
Throws:
TypeCastException
java.sql.SQLException

addBatch

public void addBatch()
              throws java.sql.SQLException
Throws:
java.sql.SQLException

executeBatch

public int executeBatch()
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

clearBatch

public void clearBatch()
                throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2002-2008. All Rights Reserved.