public interface ValueBinder<X>
PreparedStatement
.Modifier and Type | Method and Description |
---|---|
void |
bind(java.sql.CallableStatement st,
X value,
java.lang.String name,
WrapperOptions options)
Bind a value to a CallableStatement.
|
void |
bind(java.sql.PreparedStatement st,
X value,
int index,
WrapperOptions options)
Bind a value to a prepared statement.
|
void bind(java.sql.PreparedStatement st, X value, int index, WrapperOptions options) throws java.sql.SQLException
st
- The prepared statement to which to bind the value.value
- The value to bind.index
- The position at which to bind the value within the prepared statementoptions
- The options.java.sql.SQLException
- Indicates a JDBC error occurred.void bind(java.sql.CallableStatement st, X value, java.lang.String name, WrapperOptions options) throws java.sql.SQLException
st
- The prepared statement to which to bind the value.value
- The value to bind.name
- The name to bind the value within the prepared statementoptions
- The options.java.sql.SQLException
- Indicates a JDBC error occurred.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.