| Constructor and Description |
|---|
CharacterStreamArgument(Reader reader,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(int position,
PreparedStatement statement,
StatementContext ctx)
Apply the argument to the given prepared statement.
|
public CharacterStreamArgument(Reader reader, int length)
reader - the character stream to bindlength - the length of the streampublic void apply(int position,
PreparedStatement statement,
StatementContext ctx)
throws SQLException
Argumentapply in interface Argumentposition - 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 contextSQLException - if anything goes wrongCopyright © 2017. All rights reserved.