public interface QueryBinder<T>
Modifier and Type | Method and Description |
---|---|
PreparedStatement |
bind(T value)
Bind the value to a new PreparedStatement.
|
void |
bindTo(T value,
PreparedStatement ps)
Bind the value to the specified PreparedStatement.
|
PreparedStatement bind(T value) throws SQLException
value
- the valueSQLException
- if an error occursvoid bindTo(T value, PreparedStatement ps) throws SQLException
value
- the valueps
- the PreparedStatementSQLException
- if an error occursUnsupportedOperationException
- if a parameter is an array or a ListCopyright © 2019. All rights reserved.