Package org.jdbi.v3.core.argument
Class CharSequenceArgumentFactory
java.lang.Object
org.jdbi.v3.core.argument.AbstractArgumentFactory<CharSequence>
org.jdbi.v3.core.argument.CharSequenceArgumentFactory
- All Implemented Interfaces:
ArgumentFactory
,ArgumentFactory.Preparable
An
ArgumentFactory
for arguments that implement CharSequence
.
The factory is registered by default in Arguments
before other more specific or
user-defined factories such EssentialsArgumentFactory
(which has
explicit support for String
arguments).
The factory converts arguments to String by calling their toString()
method
and treats them as sql type Types.VARCHAR
.
- Since:
- 3.30.1
- Author:
- Markus Spann
-
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 org.jdbi.v3.core.argument.AbstractArgumentFactory
build, prepare, prePreparedTypes
-
Constructor Details
-
CharSequenceArgumentFactory
public CharSequenceArgumentFactory()
-