The org.jdbdt.JDBDT class is the facade for the JDBDT API, providing the core interface methods for database setup, verification, and API object creation.
The following static import may be convenient to refer to the API methods concisely.
import static org.jdbdt.JDBDT.*;
Functionality | Summary | Facade methods | Related API types |
---|---|---|---|
Database handles | A database handle mediates access to a database connection. |
database teardown |
DB |
Data sources | A data source represents a database table or query. |
query select table |
DataSource Table TableBuilder Query QueryBuilder |
Data sets | A data set represents a collection of rows. |
builder data dump empty read write |
Conversion ColumnFiller CSV.Format DataSet DataSetBuilder TypedDataSet |
Database setup | Setup methods can be used to define the contents of a database. |
changed commit delete deleteAll deleteAllWhere drop execute insert populate populateIfChanged restore save truncate update |
DataSet DB Table |
Database assertions | Assertion methods can be used to verify the contents of a database or compare data sets. |
assertDeleted assertDelta assertEmpty assertEquals assertInserted assertState assertTableDoesNotExist assertTableExists assertUnchanged takeSnapshot |
DBAssertionError DataSet DataSource |