Package | Description |
---|---|
org.skife.jdbi.v2 |
Start with
DBI and Handle |
org.skife.jdbi.v2.spring |
Classes here provide integration hooks for working with the Spring framework.
|
org.skife.jdbi.v2.sqlobject |
SQL Objects
|
Modifier and Type | Class and Description |
---|---|
class |
DBI
This class provides the access point for jDBI.
|
Modifier and Type | Method and Description |
---|---|
IDBI |
DBIFactoryBean.getObject()
See org.springframework.beans.factory.FactoryBean#getObject
|
Modifier and Type | Method and Description |
---|---|
Class<IDBI> |
DBIFactoryBean.getObjectType()
See org.springframework.beans.factory.FactoryBean#getObjectType
|
Modifier and Type | Method and Description |
---|---|
static Handle |
DBIUtil.getHandle(IDBI dbi)
Obtain a Handle instance, either the transactionally bound one if we are in a transaction,
or a new one otherwise.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
SqlObjectBuilder.onDemand(IDBI dbi,
Class<T> sqlObjectType)
Create a new sql object which will obtain and release connections from this dbi instance, as it needs to,
and can, respectively.
|
static <T> T |
SqlObjectBuilder.open(IDBI dbi,
Class<T> sqlObjectType)
Open a handle and attach a new sql object of the specified type to that handle.
|
Copyright © 2018. All rights reserved.