Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4914120

javax.sql.rowset.BaseRowSet.getConcurrency: spec ambiguity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • docs
    • beta
    • sparc
    • solaris_2.6
    • Verified

      Name: sdR10048 Date: 08/28/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b16"
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] : api/javax_sql/rowset/BaseRowSet/index.html#Concurrency[BaseRowSet2034]


      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
          public int getConcurrency() throws SQLException

          . . .
          The default is <code>CONCUR_UPDATABLE</code>.
          . . .
            @throws SQLException if an error occurs determinig set concurrency
                of the JDBC <code>RowSet</code>l or if no concurrency has been
                set.

      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      The spec for designated method states two contradictory facts:
      The default value is CONCUR_UPDATABLE
      (for example if no value has been set before).
      And if no concurrency has been set SQLException will be thrown.


      JCK test source location:
      ==========================
      At this moment (28 aug 2003) this testcase is not yet integrated.

      ======================================================================

            jbrucesunw Jonathan Bruce (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: