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