| Package | Description |
|---|---|
| org.jdbi.v3.core.config |
The
config classes define a configuration registry starting from
each Jdbi instance. |
| org.jdbi.v3.core.mapper |
mappers take the JDBC ResultSet and produce Java results. |
| org.jdbi.v3.core.mapper.reflect |
mapper.reflect provides RowMappers that reflectively
construct result types using techniques like constructor injection
or JavaBeans setters. |
| Modifier and Type | Method and Description |
|---|---|
default This |
Configurable.registerRowMapper(RowMapperFactory factory)
Convenience method for
getConfig(RowMappers.class).register(factory) |
| Modifier and Type | Method and Description |
|---|---|
static RowMapperFactory |
RowMapperFactory.of(Type type,
RowMapper<?> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
RowMappers |
RowMappers.register(RowMapperFactory factory)
Register a row mapper factory.
|
| Modifier and Type | Method and Description |
|---|---|
static RowMapperFactory |
FieldMapper.factory(Class<?> type)
Returns a mapper factory that maps to the given bean class
|
static RowMapperFactory |
ConstructorMapper.factory(Class<?> clazz)
Use the only declared constructor to map a class.
|
static RowMapperFactory |
BeanMapper.factory(Class<?> type)
Returns a mapper factory that maps to the given bean class
|
static RowMapperFactory |
FieldMapper.factory(Class<?> type,
String prefix)
Returns a mapper factory that maps to the given bean class
|
static RowMapperFactory |
ConstructorMapper.factory(Class<?> clazz,
String prefix)
Use the only declared constructor to map a class.
|
static RowMapperFactory |
BeanMapper.factory(Class<?> type,
String prefix)
Returns a mapper factory that maps to the given bean class
|
static RowMapperFactory |
ConstructorMapper.factory(Constructor<?> constructor)
Use a
Constructor<T> to map its declaring type. |
static RowMapperFactory |
ConstructorMapper.factory(Constructor<?> constructor,
String prefix)
Use a
Constructor<T> to map its declaring type. |
Copyright © 2017. All rights reserved.