Interface DatabasePreparer
-
- All Known Subinterfaces:
DatabaseConnectionPreparer
- All Known Implementing Classes:
FlywayPreparer,LiquibasePreparer
public interface DatabasePreparerA DatabasePreparer applies an arbitrary set of changes (e.g. database migrations, user creation) to a database before it is presented to the user. The preparation steps are expected to be deterministic. For efficiency reasons, databases created by DatabasePreparer instances may be pooled, usingObject.hashCode()andObject.equals(Object)to determine equivalence.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprepare(DataSource ds)
-
-
-
Method Detail
-
prepare
void prepare(DataSource ds) throws SQLException
- Throws:
SQLException
-
-