| Constructor and Description |
|---|
LoggableBinderArgument(T value,
StatementBinder<T> binder) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(int pos,
PreparedStatement stmt,
StatementContext ctx)
Apply the argument to the given prepared statement.
|
static Argument |
bindAsString(Object obj) |
String |
toString() |
public LoggableBinderArgument(T value, StatementBinder<T> binder)
public void apply(int pos,
PreparedStatement stmt,
StatementContext ctx)
throws SQLException
Argumentapply in interface Argumentpos - the position to which the argument should be bound, using the
stupid JDBC "start at 1" bitstmt - the prepared statement the argument is to be bound toctx - the statement contextSQLException - if anything goes wrongCopyright © 2019. All rights reserved.