Lines Matching defs:concurrency
441 * A constant indicating the concurrency of this JDBC <code>RowSet</code>
447 private int concurrency = ResultSet.CONCUR_UPDATABLE;
980 * Sets the concurrency for this <code>RowSet</code> object to
981 * the specified concurrency. The default concurrency for any <code>RowSet</code>
983 * but this method may be called at any time to change the concurrency.
985 * @param concurrency one of the following constants:
995 public void setConcurrency(int concurrency) throws SQLException {
997 if((concurrency != ResultSet.CONCUR_READ_ONLY) &&
998 (concurrency != ResultSet.CONCUR_UPDATABLE)) {
999 throw new SQLException("Invalid concurrency set. Must be either " +
1002 this.concurrency = concurrency;
1463 * Returns the concurrency for this <code>RowSet</code> object.
1468 * to change a <code>RowSet</code> object's concurrency.
1470 * @return the concurrency type for this <code>RowSet</code>
1474 * @throws SQLException if an error occurs getting the concurrency
1480 return concurrency;