Package net.officefloor.jdbc.h2.test
Class H2Reset
java.lang.Object
net.officefloor.jdbc.h2.test.H2Reset
Enables reseting the H2 database for testing.
- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionH2Reset(DataSource dataSource, org.flywaydb.core.Flyway flyway) Instantiate. -
Method Summary
-
Constructor Details
-
H2Reset
Instantiate.- Parameters:
dataSource-DataSource.flyway-Flyway.
-
-
Method Details
-
clean
public void clean()Cleans for testing. -
reset
public void reset()Resets for testing.
-