org.dbunit.database.statement
Class AutomaticPreparedBatchStatement
java.lang.Object
org.dbunit.database.statement.AutomaticPreparedBatchStatement
- All Implemented Interfaces:
- IPreparedBatchStatement
public class AutomaticPreparedBatchStatement
- extends Object
- implements IPreparedBatchStatement
- Since:
- Jun 12, 2003
- Version:
- $Revision: 554 $
- 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(Object value,
DataType dataType)
throws TypeCastException,
SQLException
- Specified by:
addValue
in interface IPreparedBatchStatement
- Throws:
TypeCastException
SQLException
addBatch
public void addBatch()
throws SQLException
- Specified by:
addBatch
in interface IPreparedBatchStatement
- Throws:
SQLException
executeBatch
public int executeBatch()
throws SQLException
- Specified by:
executeBatch
in interface IPreparedBatchStatement
- Throws:
SQLException
clearBatch
public void clearBatch()
throws SQLException
- Specified by:
clearBatch
in interface IPreparedBatchStatement
- Throws:
SQLException
close
public void close()
throws SQLException
- Specified by:
close
in interface IPreparedBatchStatement
- Throws:
SQLException
Copyright © 2002-2011. All Rights Reserved.