Class SqlArrayArgumentFactory

java.lang.Object
org.jdbi.v3.core.array.SqlArrayArgumentFactory
All Implemented Interfaces:
ArgumentFactory, ArgumentFactory.Preparable

public class SqlArrayArgumentFactory extends Object implements 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: