Interface JdbiExtensionInitializer

All Known Implementing Classes:
JdbiFlywayMigration
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JdbiExtensionInitializer
Initialize the data source before running a test. JdbiExtensionInitializer instances are often used to create the DDL schema for a test or preload data into the data source.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    cleanup(DataSource ds, Handle handle)
    Run cleanup code after a test.
    void
    Run initialization code before a test.