public class ConvertDelegateIndexSetter<I,O> extends Object implements PreparedStatementIndexSetter<I>
| Constructor and Description |
|---|
ConvertDelegateIndexSetter(org.simpleflatmapper.map.setter.ContextualIndexedSetter<PreparedStatement,O> setter,
org.simpleflatmapper.converter.ContextualConverter<? super I,? extends O> converter) |
| Modifier and Type | Method and Description |
|---|---|
void |
set(PreparedStatement target,
I value,
int columnIndex,
org.simpleflatmapper.converter.Context context) |
public ConvertDelegateIndexSetter(org.simpleflatmapper.map.setter.ContextualIndexedSetter<PreparedStatement,O> setter, org.simpleflatmapper.converter.ContextualConverter<? super I,? extends O> converter)
public void set(PreparedStatement target, I value, int columnIndex, org.simpleflatmapper.converter.Context context) throws SQLException
set in interface PreparedStatementIndexSetter<I>set in interface org.simpleflatmapper.map.setter.ContextualIndexedSetter<PreparedStatement,I>target - the preparedStatement to bind againstvalue - the value to bindcolumnIndex - the index to start binding atSQLException - if an error occursCopyright © 2020. All rights reserved.