public class MultiIndexQueryPreparer.MultiIndexQueryBinder extends Object implements QueryBinder<T>
Modifier | Constructor and Description |
---|---|
protected |
MultiIndexQueryBinder(Connection connection) |
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.
|
protected MultiIndexQueryBinder(Connection connection)
public PreparedStatement bind(T value) throws SQLException
QueryBinder
bind
in interface QueryBinder<T>
value
- the valueSQLException
- if an error occurspublic void bindTo(T value, PreparedStatement ps) throws SQLException
QueryBinder
bindTo
in interface QueryBinder<T>
value
- the valueps
- the PreparedStatementSQLException
- if an error occursCopyright © 2018. All rights reserved.