| Package | Description |
|---|---|
| org.jdbi.v3.core.array |
The
array package binds Java arrays and collections to SQL arrays, and
handles mapping array result types back to Java arrays and collections. |
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
SqlArrayMapperFactory
Maps SQL array columns into Java arrays or other Java container types.
|
| Modifier and Type | Method and Description |
|---|---|
default This |
Configurable.registerColumnMapper(ColumnMapperFactory factory)
Convenience method for
getConfig(ColumnMappers.class).register(factory) |
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltInMapperFactory
Column mapper factory which knows how to map JDBC-recognized types, along with some other well-known types
from the JDK.
|
class |
EnumByNameMapperFactory
Produces enum column mappers, which map enums from varchar columns using
Enum.valueOf(Class, String). |
class |
EnumByOrdinalMapperFactory
Produces enum column mappers, which map enums from numeric columns according to ordinal value.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnMapperFactory |
ColumnMapperFactory.of(Type type,
ColumnMapper<?> mapper)
Create a ColumnMapperFactory from a given
ColumnMapper that
matches a single Type exactly. |
| Modifier and Type | Method and Description |
|---|---|
ColumnMappers |
ColumnMappers.register(ColumnMapperFactory factory)
Register a column mapper factory.
|
Copyright © 2017. All rights reserved.