db
Class DatabaseContext
java.lang.Object
fit.Fixture
db.DatabaseContext
public class DatabaseContext
- extends Fixture
Methods inherited from class fit.Fixture |
camel, check, counts, doCell, doCells, doRow, doRows, doTable, doTables, error, escape, exception, fixtureName, getArgs, getArgsForTable, getLinkedFixtureWithArgs, ignore, info, info, interpretTables, label, loadFixture, parse, right, wrong, wrong |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseContext
public DatabaseContext()
getDataSet
public static org.dbunit.dataset.DefaultDataSet getDataSet()
driverName
public void driverName(java.lang.String name)
url
public void url(java.lang.String url)
user
public void user(java.lang.String user)
password
public void password(java.lang.String password)
getConnection
public static java.sql.Connection getConnection()
throws java.lang.ClassNotFoundException,
java.sql.SQLException
- Throws:
java.lang.ClassNotFoundException
java.sql.SQLException
createDatabaseConnection
public static org.dbunit.database.DatabaseConnection createDatabaseConnection()
throws java.lang.ClassNotFoundException,
java.sql.SQLException
- Throws:
java.lang.ClassNotFoundException
java.sql.SQLException
connect
protected void connect()
throws java.lang.ClassNotFoundException,
java.sql.SQLException
- Throws:
java.lang.ClassNotFoundException
java.sql.SQLException
truncate
public void truncate()
throws java.lang.Exception
- Throws:
java.lang.Exception
disconnect
protected void disconnect()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
insert
public void insert()
throws org.dbunit.DatabaseUnitException,
java.sql.SQLException
- Throws:
org.dbunit.DatabaseUnitException
java.sql.SQLException
cleanInsert
public void cleanInsert()
throws org.dbunit.DatabaseUnitException,
java.sql.SQLException,
java.lang.ClassNotFoundException
- Throws:
org.dbunit.DatabaseUnitException
java.sql.SQLException
java.lang.ClassNotFoundException
resetDataSet
public void resetDataSet()
Copyright © 2009 SourceForge. All Rights Reserved.