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