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