| Constructor and Description |
|---|
InputStreamArgument(InputStream stream,
int length,
boolean ascii) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(int position,
PreparedStatement statement,
StatementContext ctx)
Apply the argument to the given prepared statement.
|
public InputStreamArgument(InputStream stream, int length, boolean ascii)
stream - the stream to bindlength - the length of the streamascii - true if the stream is ASCIIpublic 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.