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