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 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:
      set in interface org.simpleflatmapper.map.setter.ContextualIndexedSetter<PreparedStatement,byte[]>
      Specified by:
      set in interface PreparedStatementIndexSetter<byte[]>
      Parameters:
      target - the preparedStatement to bind against
      value - the value to bind
      columnIndex - the index to start binding at
      Throws:
      SQLException - if an error occurs