Package | Description |
---|---|
org.wamblee.test.persistence |
This package provides test library for database testing in general and JPA testing
specifically.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDatabase
Abstract database class providing the creation of the datasource, preventing
duplicate starts of the same database, and checking for connection leaks when
the database is stopped.
|
class |
DerbyDatabase
Derby database setup.
|
class |
ExternalDatabase
Database that encapsulates connection to an external database.
|
Modifier and Type | Method and Description |
---|---|
Database |
DerbyDatabaseProvider.create() |
Database |
DatabaseProvider.create()
Creates a database instance that represents a running instance of that
database.
|
Database |
ExternalDatabaseProvider.create() |
static Database |
DatabaseBuilder.getDatabase(String... aCapabilities)
Gets the first database that has all required capabilities.
|
Database |
JpaTester.getDb()
Gets the database.
|
Copyright © 2022. All rights reserved.