| Package | Description |
|---|---|
| org.jdbi.v3.core |
The 'core' package hosts the top level interface into jdbi core.
|
| org.jdbi.v3.core.h2 |
The
h2 package adds vendor support for the H2 embeddable pure Java database implementation. |
| org.jdbi.v3.core.spi |
The
spi package includes entrypoints to extending Jdbi
instances with your own custom functionality. |
| Modifier and Type | Method and Description |
|---|---|
static Jdbi |
Jdbi.create(Connection connection) |
static Jdbi |
Jdbi.create(ConnectionFactory connectionFactory)
Factory used to allow for obtaining a Connection in a customized manner.
|
static Jdbi |
Jdbi.create(DataSource dataSource) |
static Jdbi |
Jdbi.create(String url) |
static Jdbi |
Jdbi.create(String url,
Properties properties) |
static Jdbi |
Jdbi.create(String url,
String username,
String password) |
Jdbi |
Jdbi.installPlugin(JdbiPlugin plugin)
Install a given
JdbiPlugin instance that will configure any
provided Handle instances. |
Jdbi |
Jdbi.installPlugins()
Use the
ServiceLoader API to detect and install plugins automagically. |
Jdbi |
Jdbi.setStatementBuilderFactory(StatementBuilderFactory factory)
Allows customization of how prepared statements are created.
|
Jdbi |
Jdbi.setTransactionHandler(TransactionHandler handler)
Specify the TransactionHandler instance to use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
H2DatabasePlugin.customizeJdbi(Jdbi db) |
| Modifier and Type | Method and Description |
|---|---|
default void |
JdbiPlugin.customizeJdbi(Jdbi jdbi)
Configure customizations global to any object managed by this Jdbi.
|
Copyright © 2019. All rights reserved.