Package org.jdbi.v3.core.array
Class SqlArrayArgumentFactory
java.lang.Object
org.jdbi.v3.core.array.SqlArrayArgumentFactory
- All Implemented Interfaces:
ArgumentFactory
,ArgumentFactory.Preparable
Bind a Java array or
Collection
to a SQL array using the
SqlArrayTypeFactory
for the given type information. Note
that due to type erasure, binding Collection
arguments with
SqlStatement.bind(int, Object)
may
fail to determine the array component type. Provide explicit information with
SqlStatement.bindByType(int, Object, org.jdbi.v3.core.generic.GenericType)
.
This factory is registered by default.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jdbi.v3.core.argument.ArgumentFactory
ArgumentFactory.Preparable
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdbi.v3.core.argument.ArgumentFactory.Preparable
build, prePreparedTypes
-
Constructor Details
-
SqlArrayArgumentFactory
public SqlArrayArgumentFactory()
-
-
Method Details
-
prepare
- Specified by:
prepare
in interfaceArgumentFactory.Preparable
-