| Modifier and Type | Method and Description |
|---|---|
static 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.
|
JdbiRule |
JdbiRule.migrateWithFlyway()
Deprecated.
|
JdbiRule |
JdbiRule.migrateWithFlyway(String... locations)
Deprecated.
|
static JdbiRule |
JdbiRule.sqlite()
Create a JdbiRule with an in-memory Sqlite database instance.
|
JdbiRule |
JdbiRule.withMigration(Migration newMigration)
Run database migration.
|
JdbiRule |
JdbiRule.withPlugin(JdbiPlugin plugin)
Install a plugin into JdbiRule.
|
JdbiRule |
JdbiRule.withPlugins()
Discover and install plugins from the classpath.
|
Copyright © 2019. All rights reserved.