Package org.jdbi.v3.core.argument
Class CharacterStreamArgument
- java.lang.Object
-
- org.jdbi.v3.core.argument.CharacterStreamArgument
-
-
Constructor Summary
Constructors Constructor Description CharacterStreamArgument(java.io.Reader reader, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(int position, java.sql.PreparedStatement statement, StatementContext ctx)Apply the argument to the given prepared statement.java.lang.StringtoString()
-
-
-
Method Detail
-
apply
public void apply(int position, java.sql.PreparedStatement statement, StatementContext ctx) throws java.sql.SQLExceptionDescription copied from interface:ArgumentApply the argument to the given prepared statement.- Specified by:
applyin interfaceArgument- Parameters:
position- the position to which the argument should be bound, using the stupid JDBC "start at 1" bitstatement- the prepared statement the argument is to be bound toctx- the statement context- Throws:
java.sql.SQLException- if anything goes wrong
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-