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