|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbunit.database.AbstractDatabaseConnection org.dbunit.database.DatabaseConnection org.dbunit.ext.mssql.MsSqlConnection
public class MsSqlConnection
Constructor Summary | |
---|---|
MsSqlConnection(java.sql.Connection connection)
Creates a new MsSqlConnection . |
|
MsSqlConnection(java.sql.Connection connection,
java.lang.String schema)
Creates a new MsSqlConnection . |
Method Summary | |
---|---|
IDataSet |
createDataSet()
Creates a dataset corresponding to the entire database. |
IDataSet |
createDataSet(java.lang.String[] tableNames)
Creates a dataset containing only the specified tables from the database. |
Methods inherited from class org.dbunit.database.DatabaseConnection |
---|
close, getConnection, getSchema |
Methods inherited from class org.dbunit.database.AbstractDatabaseConnection |
---|
createQueryTable, getConfig, getRowCount, getRowCount, getStatementFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.dbunit.database.IDatabaseConnection |
---|
createQueryTable, getConfig, getRowCount, getRowCount, getStatementFactory |
Constructor Detail |
---|
public MsSqlConnection(java.sql.Connection connection, java.lang.String schema)
MsSqlConnection
.
connection
- the adapted JDBC connectionschema
- the database schemapublic MsSqlConnection(java.sql.Connection connection)
MsSqlConnection
.
connection
- the adapted JDBC connectionMethod Detail |
---|
public IDataSet createDataSet() throws java.sql.SQLException
IDatabaseConnection
createDataSet
in interface IDatabaseConnection
createDataSet
in class AbstractDatabaseConnection
java.sql.SQLException
public IDataSet createDataSet(java.lang.String[] tableNames) throws java.sql.SQLException
IDatabaseConnection
createDataSet
in interface IDatabaseConnection
createDataSet
in class AbstractDatabaseConnection
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |