Uses of Class
org.jdbi.v3.testing.JdbiRule
Packages that use JdbiRule
-
Uses of JdbiRule in org.jdbi.v3.testing
Methods in org.jdbi.v3.testing that return JdbiRuleModifier and TypeMethodDescriptionstatic JdbiRuleJdbiRule.embeddedPostgres()Create a JdbiRule with an embedded PostgreSQL instance.static JdbiRuleJdbiRule.embeddedPostgres(Consumer<com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder> customizer) Create a JdbiRule with an embedded PostgreSQL instance.static JdbiRuleJdbiRule.externalPostgres(String hostname, Integer port, String username, String password, String database) Create a JdbiRule using an external PostgreSQL instance.static JdbiRuleJdbiRule.h2()Create a JdbiRule with an in-memory H2 database instance.JdbiRule.migrateWithFlyway()Deprecated.JdbiRule.migrateWithFlyway(String... locations) Deprecated.static JdbiRuleJdbiRule.sqlite()Create a JdbiRule with an in-memory Sqlite database instance.JdbiRule.withMigration(Migration newMigration) Run database migration.JdbiRule.withPlugin(JdbiPlugin plugin) Install a plugin into JdbiRule.JdbiRule.withPlugins()Discover and install plugins from the classpath.
withMigration(Migration)