public class BytePreparedStatementIndexSetter extends Object implements PreparedStatementIndexSetter<Byte>
Constructor and Description |
---|
BytePreparedStatementIndexSetter() |
Modifier and Type | Method and Description |
---|---|
void |
set(PreparedStatement target,
Byte value,
int columnIndex,
org.simpleflatmapper.converter.Context context) |
void |
setByte(PreparedStatement target,
byte value,
int columnIndex,
org.simpleflatmapper.converter.Context context) |
public void set(PreparedStatement target, Byte value, int columnIndex, org.simpleflatmapper.converter.Context context) throws SQLException
set
in interface PreparedStatementIndexSetter<Byte>
set
in interface org.simpleflatmapper.map.setter.ContextualIndexedSetter<PreparedStatement,Byte>
target
- the preparedStatement to bind againstvalue
- the value to bindcolumnIndex
- the index to start binding atSQLException
- if an error occurspublic void setByte(PreparedStatement target, byte value, int columnIndex, org.simpleflatmapper.converter.Context context) throws Exception
Exception
Copyright © 2018. All rights reserved.