Пример #1
0
  /**
   * This method is used to get whether a column should be used in the update, delete concurrency
   * check.
   */
  public boolean getConcurrencyCheckColumn(int col) throws DataStoreException {
    if (col < 0 || _desc.getColumnCount() == 0)
      throw new DataStoreException("Specified column (" + col + ") does not exist.");

    DSColumnDescriptor c = _desc.getColumn(col);
    return c.getConcurrency();
  }