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