Package org.dbunit.ext.hsqldb
Class HsqldbConnection
java.lang.Object
org.dbunit.database.AbstractDatabaseConnection
org.dbunit.database.DatabaseConnection
org.dbunit.ext.hsqldb.HsqldbConnection
- All Implemented Interfaces:
IDatabaseConnection
DatabaseConnection specialization that configures HSQLDB-specific
connection behavior.- Since:
- 2.2.0
- Version:
- $Revision$ $Date$
- Author:
- Klas Axell, Last changed by: $Author$
-
Constructor Summary
ConstructorsConstructorDescriptionHsqldbConnection(Connection connection, String schema) Creates an HSQLDB connection, pre-configuring the HSQLDB-specific data type factory. -
Method Summary
Methods inherited from class org.dbunit.database.DatabaseConnection
close, getConnection, getSchema, toStringMethods inherited from class org.dbunit.database.AbstractDatabaseConnection
createDataSet, createDataSet, createQueryTable, createTable, createTable, getConfig, getRowCount, getRowCount, getStatementFactoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.dbunit.database.IDatabaseConnection
createDataSet, createDataSet, createQueryTable, createTable, createTable, getConfig, getRowCount, getRowCount, getStatementFactory
-
Constructor Details
-
HsqldbConnection
Creates an HSQLDB connection, pre-configuring the HSQLDB-specific data type factory.- Parameters:
connection- the adapted JDBC connection.schema- the database schema.- Throws:
DatabaseUnitException- if the connection cannot be adapted.
-