docs: public void getSQLFromField(PreparedStatement statement, int iType, int iParamColumn) throws SQLException
      {
          if (this.isNull())
              statement.setNull(iParamColumn, Types.BIT);
          else
          {
              String strBitSupported = DBConstants.TRUE;
              if (this.getRecord() != null)
                  if (this.getRecord().getTable() != null)
                      if (this.getRecord().getTable().getDatabase().getProperties() != null)
                  strBitSupported = (String)this.getRecord().getTable().getDatabase().getProperties().get(SQLParams.BIT_TYPE_SUPPORTED);
              if (DBConstants.TRUE.equals(strBitSupported))
                  statement.setBoolean(iParamColumn, this.getState());
              else
                  statement.setByte(iParamColumn, (this.getState() ? (byte)1 : (byte)0));
          }
      }