@Factory
public class JdbiFactory
extends java.lang.Object
| Constructor and Description | 
|---|
JdbiFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
org.jdbi.v3.core.Jdbi | 
jdbi(javax.sql.DataSource dataSource,
    org.jdbi.v3.core.transaction.TransactionHandler transactionHandler,
    org.jdbi.v3.core.statement.StatementBuilderFactory statementBuilderFactory,
    JdbiCustomizer jdbiCustomizer)
Creates a Jdbi  
Jdbi instance. | 
@EachBean(value=javax.sql.DataSource.class)
public org.jdbi.v3.core.Jdbi jdbi(javax.sql.DataSource dataSource,
                                                                              @Parameter @Nullable
                                                                              org.jdbi.v3.core.transaction.TransactionHandler transactionHandler,
                                                                              @Parameter @Nullable
                                                                              org.jdbi.v3.core.statement.StatementBuilderFactory statementBuilderFactory,
                                                                              @Parameter @Nullable
                                                                              JdbiCustomizer jdbiCustomizer)
Jdbi instance.
 It will configure it with available Jdbi provider beans with the same qualifier.
 
 Plugins will be installed automatically from the classpath using the ServiceLoader mechanism
dataSource - The DataSourcetransactionHandler - The TransactionHandlerstatementBuilderFactory - The StatementBuilderFactoryjdbiCustomizer - The JdbiCustomizerJdbi instance