/** * Sets the binary value of the given field. * * @param fieldName the field name. * @param value the value to insert. * @throws IllegalArgumentException if field name doesn't exists or isn't a binary field. */ public void setBlob(String fieldName, byte[] value) { long columnIndex = row.getColumnIndex(fieldName); row.setBinaryByteArray(columnIndex, value); }