What is ResultSet Concurrency ? Explain ?

Discussion in 'JDBC' started by SoCoooollllllllllllllllll, Nov 24, 2008.

  1. The concurrency of a ResultSet object determines what level of update
    functionality is supported.
    The two concurrency levels are :
    The ResultSet object cannot be updated using the ResultSet interface.
    The ResultSet object can be updated using the ResultSet interface.

    The default ResultSet concurrency is CONCUR_READ_ONLY.

    The method DatabaseMetaData.supportsResultSetConcurrency returns true if the specified concurrency level is supported by the driver and false otherwise.

    If the driver does not support the concurrency level supplied to the methods createStatement, prepareStatement, or prepareCall, it generates an SQLWarning on the Connection object that is creating the statement. An
    application can find out the concurrency of a ResultSet object by calling the method ResultSet.getConcurrency.

    If the driver cannot return a ResultSet object at the requested type and concurrency, it determines the appropriate type before determining the concurrency.
  2. anneroberts

    anneroberts Member

    An ResultSet item is An table about information speaking to An database result set, which will be as a rule created Eventually Tom's perusing executing a articulation that queries the database. This cursor is An pointer that focuses with person column for information in the ResultSet. Initially, the cursor will be positioned preceding the primary column

Share This Page