| Package | Description |
|---|---|
| org.jdbi.v3.core.argument |
The
argument classes translate Java types into JDBC parameters. |
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractArgumentFactory<T>
An
ArgumentFactory base class for arguments of type T. |
class |
JavaTimeZoneIdArgumentFactory |
class |
ObjectArgumentFactory
Argument factory that matches a specified type and binds
it as an
ObjectArgument. |
class |
SetObjectArgumentFactory
Factory that uses
PreparedStatement.setObject(int, Object, int) to bind values. |
| Modifier and Type | Field and Description |
|---|---|
static ArgumentFactory |
BuiltInArgumentFactory.INSTANCE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ArgumentFactory |
ObjectArgumentFactory.create(Class<?> type)
Match the given type and bind as an object without SQL type information.
|
static ArgumentFactory |
ObjectArgumentFactory.create(Class<?> type,
Integer sqlType)
Match the given type and bind as an object with the given SQL type information
|
static ArgumentFactory |
SetObjectArgumentFactory.forClasses(Map<Class<?>,Integer> types) |
| Modifier and Type | Method and Description |
|---|---|
static QualifiedArgumentFactory |
QualifiedArgumentFactory.adapt(ArgumentFactory factory)
Adapts an
ArgumentFactory into a QualifiedArgumentFactory. |
Arguments |
Arguments.register(ArgumentFactory factory)
Registers the given argument factory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SqlArrayArgumentFactory
Bind a Java array or
Collection to a SQL array using the
SqlArrayTypeFactory for the given type information. |
| Modifier and Type | Method and Description |
|---|---|
default This |
Configurable.registerArgument(ArgumentFactory factory)
Convenience method for
getConfig(Arguments.class).register(factory) |
Copyright © 2019. All rights reserved.