Module org.simpleflatmapper.jdbc
Class RowIdPreparedStatementIndexSetter
java.lang.Object
org.simpleflatmapper.jdbc.impl.setter.RowIdPreparedStatementIndexSetter
- All Implemented Interfaces:
PreparedStatementIndexSetter<RowId>,org.simpleflatmapper.map.setter.ContextualIndexedSetter<PreparedStatement,RowId>
public class RowIdPreparedStatementIndexSetter
extends Object
implements PreparedStatementIndexSetter<RowId>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidset(PreparedStatement target, RowId value, int columnIndex, org.simpleflatmapper.converter.Context context)
-
Constructor Details
-
RowIdPreparedStatementIndexSetter
public RowIdPreparedStatementIndexSetter()
-
-
Method Details
-
set
public void set(PreparedStatement target, RowId value, int columnIndex, org.simpleflatmapper.converter.Context context) throws SQLException - Specified by:
setin interfaceorg.simpleflatmapper.map.setter.ContextualIndexedSetter<PreparedStatement,RowId> - Specified by:
setin interfacePreparedStatementIndexSetter<RowId>- Parameters:
target- the preparedStatement to bind againstvalue- the value to bindcolumnIndex- the index to start binding at- Throws:
SQLException- if an error occurs
-