Package | Description |
---|---|
org.skife.jdbi.v2 |
Start with
DBI and Handle |
org.skife.jdbi.v2.tweak |
Interfaces used to alter JDBI's behavior
|
org.skife.jdbi.v2.unstable.oracle |
Convenience classes when working with Oracle databases.
|
org.skife.jdbi.v2.util |
Classes provided as a convenience to users of the library.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseResultSetMapper<ResultType>
Convenience class which allows definition of result set mappers which getAttribute the
row as a map instead of a result set.
|
class |
BeanMapper<T>
A result set mapper which maps the fields in a statement into a JavaBean.
|
class |
DefaultMapper |
class |
ReflectionBeanMapper<T>
A result set mapper which maps the fields in a statement into a JavaBean.
|
Modifier and Type | Method and Description |
---|---|
ResultSetMapper |
ResultSetMapperFactory.mapperFor(Class type,
StatementContext ctx)
Supplies a result set mapper which will map result sets to type
|
ResultSetMapper |
PrimitivesMapperFactory.mapperFor(Class type,
StatementContext ctx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<GeneratedKeyType> |
PreparedBatch.executeAndGenerateKeys(ResultSetMapper<GeneratedKeyType> mapper) |
<GeneratedKeyType> |
PreparedBatch.executeAndGenerateKeys(ResultSetMapper<GeneratedKeyType> mapper,
String... columnNames) |
<GeneratedKeyType> |
Update.executeAndReturnGeneratedKeys(ResultSetMapper<GeneratedKeyType> mapper) |
<GeneratedKeyType> |
Update.executeAndReturnGeneratedKeys(ResultSetMapper<GeneratedKeyType> mapper,
String columnName)
Execute the statement and returns any auto-generated keys.
|
<T> Query<T> |
Query.map(ResultSetMapper<T> mapper) |
void |
Query.registerMapper(ResultSetMapper m) |
void |
Handle.registerMapper(ResultSetMapper mapper)
Register a result set mapper which will have its parameterized type inspected to determine what it maps to
Will be used with
Query.mapTo(Class) for registered mappings. |
void |
DBI.registerMapper(ResultSetMapper mapper)
Register a result set mapper which will have its parameterized type inspected to determine what it maps to
Will be used with
Query.mapTo(Class) for registered mappings. |
Modifier and Type | Method and Description |
---|---|
ResultSetMapper |
BeanMapperFactory.mapperFor(Class type,
StatementContext ctx) |
Constructor and Description |
---|
OracleReturning(ResultSetMapper<ResultType> mapper)
Deprecated.
Provide a mapper which knows how to do positional access, sadly the
BeanMapper uses the names in the result set |
Modifier and Type | Class and Description |
---|---|
class |
SingleColumnMapper<T>
Adapts a
ResultColumnMapper into a ResultSetMapper by mapping a single column. |
Copyright © 2018. All rights reserved.