Package org.dbunit.database.statement
Class AbstractStatementFactory
java.lang.Object
org.dbunit.database.statement.AbstractStatementFactory
- All Implemented Interfaces:
IStatementFactory
- Direct Known Subclasses:
PreparedStatementFactory,StatementFactory
Abstract base
IStatementFactory implementation.- Since:
- Apr 10, 2002
- Version:
- $Revision$
- Author:
- Manuel Laflamme
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleansupportBatchStatement(IDatabaseConnection connection) Returnstrueif target database supports batch statement.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dbunit.database.statement.IStatementFactory
createBatchStatement, createPreparedBatchStatement
-
Constructor Details
-
AbstractStatementFactory
public AbstractStatementFactory()
-
-
Method Details
-
supportBatchStatement
Returnstrueif target database supports batch statement.- Parameters:
connection- the database connection to check.- Returns:
trueif target database supports batch statement.- Throws:
SQLException- if checking the database metadata fails.
-