org.dbunit.database.statement
Class AutomaticPreparedBatchStatement
java.lang.Object
org.dbunit.database.statement.AutomaticPreparedBatchStatement
- All Implemented Interfaces:
- IPreparedBatchStatement
- public class AutomaticPreparedBatchStatement
- extends java.lang.Object
- implements IPreparedBatchStatement
- Since:
- Jun 12, 2003
- Version:
- $Revision: 1.4 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutomaticPreparedBatchStatement
public AutomaticPreparedBatchStatement(IPreparedBatchStatement statement,
int threshold)
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-2004 DbUnit.org. All Rights Reserved.