Uses of Class
org.jdbi.v3.testing.JdbiRule
-
Uses of JdbiRule in org.jdbi.v3.testing
Modifier and TypeMethodDescriptionstatic JdbiRule
JdbiRule.embeddedPostgres()
Create a JdbiRule with an embedded PostgreSQL instance.static JdbiRule
JdbiRule.embeddedPostgres
(Consumer<com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder> customizer) Create a JdbiRule with an embedded PostgreSQL instance.static JdbiRule
JdbiRule.externalPostgres
(String hostname, Integer port, String username, String password, String database) Create a JdbiRule using an external PostgreSQL instance.static JdbiRule
JdbiRule.h2()
Create a JdbiRule with an in-memory H2 database instance.static JdbiRule
JdbiRule.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.