Package org.dbunit.ext.mysql
Class MySqlConnection
java.lang.Object
org.dbunit.database.AbstractDatabaseConnection
org.dbunit.database.DatabaseConnection
org.dbunit.ext.mysql.MySqlConnection
- All Implemented Interfaces:
IDatabaseConnection
DatabaseConnection specialization that configures MySQL-specific
connection behavior.- Since:
- Sep 4, 2003
- Version:
- $Revision$
- Author:
- manuel.laflamme
-
Constructor Summary
ConstructorsConstructorDescriptionMySqlConnection(Connection connection, String schema) Creates a newMySqlConnection. -
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
-
MySqlConnection
Creates a newMySqlConnection.- Parameters:
connection- the adapted JDBC connection.schema- the database schema.- Throws:
DatabaseUnitException- if setting up the connection fails.
-